mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 01:48:02 +02:00
dix: Don't use short as bool
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Simon Thum <simon.thum@gmx.de>
This commit is contained in:
parent
97c1967689
commit
5ffe06bada
1 changed files with 1 additions and 1 deletions
|
|
@ -714,7 +714,7 @@ ApplySofteningAndConstantDeceleration(
|
|||
int dy,
|
||||
float* fdx,
|
||||
float* fdy,
|
||||
short do_soften)
|
||||
BOOL do_soften)
|
||||
{
|
||||
if (do_soften && vel->use_softening) {
|
||||
*fdx = ApplySimpleSoftening(vel->last_dx, dx);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue