Those outdated resize events are sent from SDL_DestroyWindow when the window is fullscreen and doesn't have the SDL_WINDOW_FULLSCREEN_DESKTOP flag (thus Surface SDL is not affected). Switching resolutions in fullscreen, or switching from fullscreen to windowed will therefore cause a resize event to be received with the former fullscreen resolution after we have already setup the window to use the new resolution. If we don't ignore this event we end up with a texture size and a window size that are not consistent and for example see only a part of the texture (if the old resolution is bigger than the new one. |
||
---|---|---|
.. | ||
androidsdl | ||
dinguxsdl | ||
gph | ||
linuxmotosdl | ||
maemosdl | ||
null | ||
opengl | ||
openglsdl | ||
openpandora | ||
samsungtvsdl | ||
sdl | ||
surfacesdl | ||
symbiansdl | ||
wincesdl | ||
default-palette.h | ||
graphics.h |