Return wglGetSwapIntervalEXT straight

This commit is contained in:
baldurk
2014-12-11 21:08:19 +00:00
parent 9be802082f
commit 11df77cdff
+2 -1
View File
@@ -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;
}