Fixed compile error.
This commit is contained in:
parent
b705071877
commit
e17ed1c762
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue