src/video/windows/SDL_windowsopengl.c
changeset 7412 50211a1fd557
parent 7401 698995795574
child 7553 f0091f8eae33
     1.1 --- a/src/video/windows/SDL_windowsopengl.c	Fri Jul 12 01:26:43 2013 -0400
     1.2 +++ b/src/video/windows/SDL_windowsopengl.c	Thu Jul 11 22:59:20 2013 -0700
     1.3 @@ -535,7 +535,7 @@
     1.4      HGLRC context, share_context;
     1.5  
     1.6      if (_this->gl_config.share_with_current_context) {
     1.7 -        share_context = (HGLRC)(_this->current_glctx);
     1.8 +        share_context = (HGLRC)SDL_GL_GetCurrentContext();
     1.9      } else {
    1.10          share_context = 0;
    1.11      }