Permalink
Browse files

SDL2: calling EndMultiGesture is better

  • Loading branch information...
1 parent 5b11737 commit 9562722ee587ca52a395cd986eb3964d2508664e @bradallred bradallred committed Dec 27, 2013
Showing with 1 addition and 4 deletions.
  1. +1 −4 gemrb/plugins/SDLVideo/SDL20Video.cpp
@@ -681,11 +681,8 @@ int SDL20VideoDriver::ProcessEvent(const SDL_Event & event)
restoring from "minimized state" should be a clean slate.
*/
ClearFirstTouch();
+ EndMultiGesture();
ignoreNextFingerUp = 0;
- GameControl* gc = core->GetGameControl();
- if (gc) {
- gc->ClearMouseState();
- }
// should we reset the lastMouseTime vars?
#if TARGET_OS_IPHONE
// FIXME:

0 comments on commit 9562722

Please sign in to comment.