Marc-André Lureau b3a654d82e ui/sdl2: fix surface_gl_update_texture: Assertion 'gls' failed
Before sdl2_gl_update() is called, sdl2_gl_switch() may decide to
destroy the console window and its associated shaders.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1644
Fixes: c84ab0a500a8 ("ui/console: optionally update after gfx switch")

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Tested-by: Bin Meng <bin.meng@windriver.com>
Message-Id: <20230511074217.4171842-1-marcandre.lureau@redhat.com>
2023-05-28 13:08:25 +04:00
..
2022-09-29 18:23:51 +02:00
2023-03-13 23:48:45 +04:00
2023-03-13 23:48:45 +04:00
2023-03-21 11:25:31 +04:00
2022-11-08 10:23:06 +01:00
2022-11-08 10:23:06 +01:00
2022-11-08 10:23:06 +01:00
2023-03-13 22:57:39 +04:00