mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-01-31 11:34:28 +01:00
The field gl_context is initialized from SDL_GL_CreateContext(), which returns a raw SDL_GLContext, not a pointer. The type mismatch was silently ignored by SDL2 because SDL_GLContext was defined as an alias to `void *` (in SDL3, it is instead an alias to `struct SDL_GLContextState *`, so compilation fails). Refs #3895 <https://github.com/Genymobile/scrcpy/pull/3895> PR #6259 <https://github.com/Genymobile/scrcpy/pull/6259> Signed-off-by: Romain Vimont <rom@rom1v.com>