Fixed wglShareLists() call that used the wrong variable.
--- a/src/video/windows/SDL_windowsopengl.c Fri Aug 24 19:39:51 2012 -0400
+++ b/src/video/windows/SDL_windowsopengl.c Sat Aug 25 16:49:05 2012 -0400
@@ -540,7 +540,7 @@
/* Create legacy context */
context = _this->gl_data->wglCreateContext(hdc);
if( share_context != 0 ) {
- _this->gl_data->wglShareLists(share_context, hdc);
+ _this->gl_data->wglShareLists(share_context, context);
}
} else {
PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribsARB;