SWDEV-273235 - Remove implicit dependancy on WGL
Change-Id: I8355587be50492767caa3d2a4e602bdd6eb73960
[ROCm/clr commit: 4127be5c63]
Esse commit está contido em:
@@ -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,
|
||||
|
||||
@@ -273,6 +273,7 @@ private:
|
||||
HDC tempDC_;
|
||||
HGLRC tempGLRC_;
|
||||
|
||||
public:
|
||||
PFN_wglCreateContext wglCreateContext_;
|
||||
PFN_wglGetCurrentContext wglGetCurrentContext_;
|
||||
PFN_wglGetCurrentDC wglGetCurrentDC_;
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário