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

Change-Id: If9416742cd8dc6a35adaccce802d65888e808ef2


[ROCm/clr commit: ad56c20cd0]
This commit is contained in:
German
2023-08-29 17:51:10 -04:00
zatwierdzone przez German Andryeyev
rodzic 92c16d7d04
commit 476e7f7022
3 zmienionych plików z 31 dodań i 39 usunięć
@@ -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,