SWDEV-273235 - Remove implicit dependancy on WGL

Change-Id: I8355587be50492767caa3d2a4e602bdd6eb73960


[ROCm/clr commit: 4127be5c63]
이 커밋은 다음에 포함됨:
Vladislav Sytchenko가 2021-05-05 12:42:35 -04:00를 커밋했습니다
1 부모 a1f74b3b7a
커밋 eeb06dd4b7
2 파일이 변경됨
+3 -2

검색과 일치하는 파일 없음

+2 -2
파일 보기
@@ -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
파일 보기
@@ -273,6 +273,7 @@ private:
HDC tempDC_;
HGLRC tempGLRC_;
public:
PFN_wglCreateContext wglCreateContext_;
PFN_wglGetCurrentContext wglGetCurrentContext_;
PFN_wglGetCurrentDC wglGetCurrentDC_;