src/video/windows/SDL_windowsopengl.c
changeset 6406 3a098f2d4dea
parent 6393 a773384edf20
child 6522 edacce9402fb
     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;