mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-09 09:10:49 +00:00
Return wglGetSwapIntervalEXT straight
This commit is contained in:
@@ -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