The Steam overlay hooks this.
From: Brendan Shanks bshanks@codeweavers.com
--- dlls/opengl32/wgl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c index b3cffa00a3e..f26f7d6a024 100644 --- a/dlls/opengl32/wgl.c +++ b/dlls/opengl32/wgl.c @@ -438,8 +438,8 @@ PROC WINAPI wglGetDefaultProcAddress( LPCSTR name ) /*********************************************************************** * wglSwapLayerBuffers (OPENGL32.@) */ -BOOL WINAPI wglSwapLayerBuffers(HDC hdc, - UINT fuPlanes) { +BOOL WINAPI DECLSPEC_HOTPATCH wglSwapLayerBuffers(HDC hdc, + UINT fuPlanes) { TRACE("(%p, %08x)\n", hdc, fuPlanes);
if (fuPlanes & WGL_SWAP_MAIN_PLANE) {