mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-22 19:11:14 +00: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;
|
break;
|
||||||
pressure? */
|
pressure? */
|
||||||
}
|
}
|
||||||
|
else if (event->type == SDL_FINGERDOWN) {
|
||||||
if (event->type == SDL_FINGERDOWN) {
|
|
||||||
|
|
||||||
inTouch->numDownFingers++;
|
inTouch->numDownFingers++;
|
||||||
inTouch->centroid.x = (inTouch->centroid.x*(inTouch->numDownFingers - 1)+
|
inTouch->centroid.x = (inTouch->centroid.x*(inTouch->numDownFingers - 1)+
|
||||||
|
|
Loading…
Reference in a new issue