Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed wglShareLists() call that used the wrong variable.
  • Loading branch information
icculus committed Aug 25, 2012
1 parent ccd38db commit 537a34f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/windows/SDL_windowsopengl.c
Expand Up @@ -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;
Expand Down

0 comments on commit 537a34f

Please sign in to comment.