mirror of
https://github.com/yawut/SDL.git
synced 2026-09-08 17:16:19 -05:00
Fixed cast of the OpenGL context type
This commit is contained in:
@@ -532,7 +532,7 @@ X11_GL_CreateContext(_THIS, SDL_Window * window)
|
||||
GLXContext context = NULL, share_context;
|
||||
|
||||
if (_this->gl_config.share_with_current_context) {
|
||||
share_context = SDL_GL_GetCurrentContext();
|
||||
share_context = (GLXContext)SDL_GL_GetCurrentContext();
|
||||
} else {
|
||||
share_context = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user