|
@@ -649,8 +649,7 @@ void SDL_GestureProcessEvent(SDL_Event* event)
|
|
break;
|
|
break;
|
|
pressure? */
|
|
pressure? */
|
|
}
|
|
}
|
|
-
|
|
|
|
- if (event->type == SDL_FINGERDOWN) {
|
|
|
|
|
|
+ else 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)+
|