mirror of
https://github.com/yawut/SDL.git
synced 2026-07-21 02:12:06 -05:00
Fixed compile error.
This commit is contained in:
parent
37d807278a
commit
ef21cf0516
|
|
@ -171,7 +171,7 @@ SDL_SendWindowEvent(SDL_Window * window, Uint8 windowevent, int data1,
|
|||
|
||||
/* Fixes queue overflow with resize events that aren't processed */
|
||||
if (windowevent == SDL_WINDOWEVENT_RESIZED ||
|
||||
windowevent == SDL_WINDOWEVENT_SIZE_CHANGED) &&
|
||||
windowevent == SDL_WINDOWEVENT_SIZE_CHANGED) {
|
||||
SDL_FilterEvents(RemovePendingSizeEvents, &event);
|
||||
}
|
||||
if (windowevent == SDL_WINDOWEVENT_MOVED) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user