Fixed cast of the OpenGL context type
authorSam Lantinga <slouken@libsdl.org>
Thu, 11 Jul 2013 23:05:02 -0700
changeset 741330d42f6f2e8d
parent 7412 50211a1fd557
child 7414 bc9a193c993d
Fixed cast of the OpenGL context type
src/video/x11/SDL_x11opengl.c
     1.1 --- a/src/video/x11/SDL_x11opengl.c	Thu Jul 11 22:59:20 2013 -0700
     1.2 +++ b/src/video/x11/SDL_x11opengl.c	Thu Jul 11 23:05:02 2013 -0700
     1.3 @@ -532,7 +532,7 @@
     1.4      GLXContext context = NULL, share_context;
     1.5  
     1.6      if (_this->gl_config.share_with_current_context) {
     1.7 -        share_context = SDL_GL_GetCurrentContext();
     1.8 +        share_context = (GLXContext)SDL_GL_GetCurrentContext();
     1.9      } else {
    1.10          share_context = NULL;
    1.11      }