mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-03 12:33:58 +00:00
Mute any errors generated by logging from earlier in the function
This commit is contained in:
1 parent
a3325fbcff
commit
5888c09ba0
1 file changed
+2
@@ -512,6 +512,8 @@ class OpenGLHook : LibraryHook
|
||||
core = (a[1] & WGL_CONTEXT_CORE_PROFILE_BIT_ARB);
|
||||
}
|
||||
|
||||
SetLastError(0);
|
||||
|
||||
HGLRC ret = glhooks.wglCreateContextAttribsARB_realfunc(dc, hShareContext, attribs);
|
||||
|
||||
DWORD err = GetLastError();
|
||||
|
||||
Reference in new issue
Block a user