Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed cast of the OpenGL context type
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 12, 2013
1 parent 3c23dc8 commit 6e900c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11opengl.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6e900c2

Please sign in to comment.