Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed cast of the OpenGL context type

  • Loading branch information
slouken committed Jul 12, 2013
1 parent 3c23dc8 commit 6e900c27462ddd7ba3ff079c9ea3289f0fa67493
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/x11/SDL_x11opengl.c
@@ -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;
}

0 comments on commit 6e900c2

Please sign in to comment.