Fixed wglShareLists() call that used the wrong variable.
This commit is contained in:
parent
386b1d15cf
commit
e5f91113a3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue