Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 3 additions and 4 deletions.
  1. +3 −4 gemrb/plugins/SDLVideo/SDL20Video.cpp
View
7 gemrb/plugins/SDLVideo/SDL20Video.cpp
@@ -191,6 +191,8 @@ void SDL20VideoDriver::DestroyMovieScreen()
Uint32 format = SDL_PIXELFORMAT_ABGR8888;
//SDL_GetWindowPixelFormat(window);
screenTexture = SDL_CreateTexture(renderer, format, SDL_TEXTUREACCESS_STREAMING, width, height);
+ // destroy any events that took place during the movies
+ SDL_FlushEvents(SDL_FIRSTEVENT, SDL_LASTEVENT);
}
void SDL20VideoDriver::showFrame(unsigned char* buf, unsigned int bufw,
@@ -679,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:

No commit comments for this range

Something went wrong with that request. Please try again.