Re: [PATCH] SDL: OpenGL 3 window context

2023-06-01 Thread Marc-André Lureau
Hi On Thu, Jun 1, 2023 at 6:30 PM Antonio Caggiano wrote: > SDL renderer creates an OpenGL 2.1 context while QEMU expects minimum > OpenGL version 3.3 or ES 3.0. To fix this we create an OpenGL context > directly, ignoring the SDL renderer when OpenGL is enabled. > > Signed-off-by: Antonio Caggi

[PATCH] SDL: OpenGL 3 window context

2023-06-01 Thread Antonio Caggiano
SDL renderer creates an OpenGL 2.1 context while QEMU expects minimum OpenGL version 3.3 or ES 3.0. To fix this we create an OpenGL context directly, ignoring the SDL renderer when OpenGL is enabled. Signed-off-by: Antonio Caggiano --- ui/sdl2.c | 34 ++ 1 file ch