SWDEV-273235 - Remove implicit dependancy on WGL

Change-Id: I8355587be50492767caa3d2a4e602bdd6eb73960
This commit is contained in:
Vladislav Sytchenko
2021-05-05 12:42:35 -04:00
orang tua 5958b3bba5
melakukan 4127be5c63
2 mengubah file dengan 3 tambahan dan 2 penghapusan
+2 -2
Melihat File
@@ -2126,8 +2126,8 @@ bool ClGlEvent::waitForFence() {
// create a new GL context on this thread, which is shared with the original context
#ifdef _WIN32
HDC tempDC_ = wglGetCurrentDC();
HGLRC tempGLRC_ = wglGetCurrentContext();
HDC tempDC_ = context().glenv()->wglGetCurrentDC_();
HGLRC tempGLRC_ = context().glenv()->wglGetCurrentContext_();
// Set DC and GLRC
if (tempDC_ && tempGLRC_) {
ret = context().glenv()->glClientWaitSync_(gs, GL_SYNC_FLUSH_COMMANDS_BIT,