mirror of https://github.com/encounter/SDL.git
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