mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b=929506; call wglMakeCurrent before Init to get lookup working; r=bjacob
This commit is contained in:
parent
2c027b274a
commit
8783581652
@ -320,6 +320,10 @@ public:
|
||||
if (!mDC || !mContext)
|
||||
return false;
|
||||
|
||||
// see bug 929506 comment 29. wglGetProcAddress requires a current context.
|
||||
if (!sWGLLib[mLibType].fMakeCurrent(mDC, mContext))
|
||||
return false;
|
||||
|
||||
SetupLookupFunction();
|
||||
if (!InitWithPrefix("gl", true))
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user