1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

opengl32: Make wglSwapLayerBuffers hookable.

This commit is contained in:
Brendan Shanks 2024-01-16 13:36:25 -08:00 committed by Alexandre Julliard
parent 16d2f3c8a7
commit 1f8bba0f74

View file

@ -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) {