SWDEV-418038 - Remove opengl32.lib from linking in runtime
Change-Id: If9416742cd8dc6a35adaccce802d65888e808ef2
This commit is contained in:
1 parent
94e70bee26
commit
ad56c20cd0
3 files changed
+31
-39
No files matched your search
@@ -58,8 +58,8 @@ bool amd::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,
|
||||
|
||||
Reference in new issue
Block a user