Fixed wglShareLists() call that used the wrong variable.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 25 Aug 2012 16:49:05 -0400
changeset 64063a098f2d4dea
parent 6404 724e1fba7933
child 6407 93f481657c6d
Fixed wglShareLists() call that used the wrong variable.
src/video/windows/SDL_windowsopengl.c
     1.1 --- a/src/video/windows/SDL_windowsopengl.c	Fri Aug 24 19:39:51 2012 -0400
     1.2 +++ b/src/video/windows/SDL_windowsopengl.c	Sat Aug 25 16:49:05 2012 -0400
     1.3 @@ -540,7 +540,7 @@
     1.4          /* Create legacy context */
     1.5          context = _this->gl_data->wglCreateContext(hdc);
     1.6  	if( share_context != 0 ) {
     1.7 -            _this->gl_data->wglShareLists(share_context, hdc);
     1.8 +            _this->gl_data->wglShareLists(share_context, context);
     1.9  	}
    1.10      } else {
    1.11          PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribsARB;