[PATCH 0/1] MR4856: opengl32: Make wglSwapLayerBuffers hookable.
The Steam overlay hooks this. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4856
From: Brendan Shanks <bshanks(a)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) { -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/4856
participants (2)
-
Brendan Shanks -
Brendan Shanks (@bshanks)