SWDEV-418038 - Remove opengl32.lib from linking in runtime

Change-Id: If9416742cd8dc6a35adaccce802d65888e808ef2
This commit is contained in:
German authored and German Andryeyev committed 2023-08-30 14:07:28 -04:00
1 parent 94e70bee26
commit ad56c20cd0
3 files changed
+31 -39

No files matched your search

+2 -2
View File
@@ -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,