mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Removed redundant variable check when processing gestures.
This commit is contained in:
parent
e8954d5d8c
commit
26ecab9010
@ -649,8 +649,7 @@ void SDL_GestureProcessEvent(SDL_Event* event)
|
||||
break;
|
||||
pressure? */
|
||||
}
|
||||
|
||||
if (event->type == SDL_FINGERDOWN) {
|
||||
else if (event->type == SDL_FINGERDOWN) {
|
||||
|
||||
inTouch->numDownFingers++;
|
||||
inTouch->centroid.x = (inTouch->centroid.x*(inTouch->numDownFingers - 1)+
|
||||
|
Loading…
Reference in New Issue
Block a user