Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always initialize display->gl_context on macOS
Otherwise SDL_GL_DeleteContext() tried to access an uninitialized pointer upon exit when not using the OpenGL renderer. SDL_GL_DeleteContext() doesn't try to delete a NULL pointer, so no need to check for that. Fixes Genymobile#5057 <Genymobile#5057> PR Genymobile#5058 <Genymobile#5058> Signed-off-by: Romain Vimont <[email protected]>
- Loading branch information