mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-17 09:39:19 +00:00
Return wglGetSwapIntervalEXT straight
This commit is contained in:
1 parent
9be802082f
commit
11df77cdff
1 file changed
+2
-1
@@ -593,7 +593,8 @@ class OpenGLHook : LibraryHook
|
||||
glhooks.wglGetPixelFormatAttribivARB_realfunc = (PFNWGLGETPIXELFORMATATTRIBIVARBPROC)realFunc;
|
||||
return (PROC)&wglGetPixelFormatAttribivARB_hooked;
|
||||
}
|
||||
if(!strcmp(func, "wglSwapIntervalEXT"))
|
||||
if(!strcmp(func, "wglSwapIntervalEXT") ||
|
||||
!strcmp(func, "wglGetSwapIntervalEXT"))
|
||||
{
|
||||
return realFunc;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user