Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Removed redundant variable check when processing gestures.
- Loading branch information
Showing
with
1 addition
and
2 deletions.
-
+1
−2
src/events/SDL_gesture.c
|
@@ -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)+ |
|
|