Fixed cast of the OpenGL context type
authorSam Lantinga <slouken@libsdl.org>
Thu, 11 Jul 2013 23:05:02 -0700
changeset 7413 30d42f6f2e8d
parent 7412 50211a1fd557
child 7414 bc9a193c993d
Fixed cast of the OpenGL context type
src/video/x11/SDL_x11opengl.c
--- a/src/video/x11/SDL_x11opengl.c	Thu Jul 11 22:59:20 2013 -0700
+++ b/src/video/x11/SDL_x11opengl.c	Thu Jul 11 23:05:02 2013 -0700
@@ -532,7 +532,7 @@
     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;
     }