Commit e17ed1c7 authored by Sam Lantinga's avatar Sam Lantinga

Fixed compile error.

parent b7050718
...@@ -171,7 +171,7 @@ SDL_SendWindowEvent(SDL_Window * window, Uint8 windowevent, int data1, ...@@ -171,7 +171,7 @@ SDL_SendWindowEvent(SDL_Window * window, Uint8 windowevent, int data1,
/* Fixes queue overflow with resize events that aren't processed */ /* Fixes queue overflow with resize events that aren't processed */
if (windowevent == SDL_WINDOWEVENT_RESIZED || if (windowevent == SDL_WINDOWEVENT_RESIZED ||
windowevent == SDL_WINDOWEVENT_SIZE_CHANGED) && windowevent == SDL_WINDOWEVENT_SIZE_CHANGED) {
SDL_FilterEvents(RemovePendingSizeEvents, &event); SDL_FilterEvents(RemovePendingSizeEvents, &event);
} }
if (windowevent == SDL_WINDOWEVENT_MOVED) { if (windowevent == SDL_WINDOWEVENT_MOVED) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment