Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed wglShareLists() call that used the wrong variable.

  • Loading branch information
icculus committed Aug 25, 2012
1 parent ccd38db commit 537a34f032a37dd9a28de4ac0bfd139f1253beeb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/windows/SDL_windowsopengl.c
@@ -540,7 +540,7 @@ WIN_GL_CreateContext(_THIS, SDL_Window * window)
/* 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;

0 comments on commit 537a34f

Please sign in to comment.