David Gow 78bad66773 video: wayland: Resize the window before sending the SDL_RESIZE event
Currently, the SDL_WINDOWEVENT_RESIZED event is sent before the actual
window is resized (and various internal state, such as the desired
GL/Vulkan backbuffer size, are updated). This makes sense, as SDL will
discard a no-op resize, which would be the case if we had resized before
sending the event (indeed, there are existing hacks to prevent this).

However, this means that SDL_{GL,Vulkan}_GetDrawableSize() will still
use the old size in the SDL_WINDOWEVENT_RESIZED handler. In the case of
SDL_Renderer, this means the drawable size it uses will be wrong, and
the viewport will get "updated" to the old value.

This then results in bug #5899.
2022-07-18 09:21:15 -07:00
..
2022-07-17 09:07:04 -07:00
2021-11-22 08:38:46 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-03-31 16:15:51 -07:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00