mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-13 09:15:36 +00:00
Mute any errors generated by logging from earlier in the function
This commit is contained in:
@@ -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