mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 16:35:28 +00:00
d3d822cd9d
In SDL2, support has been added for multiple windows. As such, prior to this commit, invoking _sdl_screen.construct would create a new window each time the original window was resized. To avoid this, refactor to only construct the window once, and upon resize events, reconstruct the SDL_Surface and SDL_Texture of Sdl_screen to the new window dimensions. Issue identified by @chelmuth in https://github.com/genodelabs/genode/pull/4993#issuecomment-1729530634 Fixes #4993
This source-code repository contains genuine low-level OS components and interfaces of Genode. It solely depends on the framework's base API.