SWDEV-273235 - Remove implicit dependancy on WGL

Change-Id: I8355587be50492767caa3d2a4e602bdd6eb73960


[ROCm/clr commit: 4127be5c63]
Esse commit está contido em:
Vladislav Sytchenko
2021-05-05 12:42:35 -04:00
commit eeb06dd4b7
2 arquivos alterados com 3 adições e 2 exclusões
+2 -2
Ver Arquivo
@@ -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,
+1
Ver Arquivo
@@ -273,6 +273,7 @@ private:
HDC tempDC_;
HGLRC tempGLRC_;
public:
PFN_wglCreateContext wglCreateContext_;
PFN_wglGetCurrentContext wglGetCurrentContext_;
PFN_wglGetCurrentDC wglGetCurrentDC_;