opengl32: Give wglSwapBuffers a real function, make it hookable.
This commit is contained in:
parent
777a30b997
commit
4901291990
|
@ -665,7 +665,7 @@ print SPEC "@ stdcall wglChoosePixelFormat(long ptr) gdi32.ChoosePixelFormat
|
|||
@ stdcall wglSetLayerPaletteEntries(long long long long ptr)
|
||||
@ stdcall wglSetPixelFormat(long long ptr) gdi32.SetPixelFormat
|
||||
@ stdcall wglShareLists(long long) gdi32.wglShareLists
|
||||
@ stdcall wglSwapBuffers(long) gdi32.SwapBuffers
|
||||
@ stdcall wglSwapBuffers(long)
|
||||
@ stdcall wglSwapLayerBuffers(long long)
|
||||
@ stdcall wglUseFontBitmapsA(long long long long) gdi32.wglUseFontBitmapsA
|
||||
@ stdcall wglUseFontBitmapsW(long long long long) gdi32.wglUseFontBitmapsW
|
||||
|
|
|
@ -352,7 +352,7 @@
|
|||
@ stdcall wglSetLayerPaletteEntries(long long long long ptr)
|
||||
@ stdcall wglSetPixelFormat(long long ptr) gdi32.SetPixelFormat
|
||||
@ stdcall wglShareLists(long long) gdi32.wglShareLists
|
||||
@ stdcall wglSwapBuffers(long) gdi32.SwapBuffers
|
||||
@ stdcall wglSwapBuffers(long)
|
||||
@ stdcall wglSwapLayerBuffers(long long)
|
||||
@ stdcall wglUseFontBitmapsA(long long long long) gdi32.wglUseFontBitmapsA
|
||||
@ stdcall wglUseFontBitmapsW(long long long long) gdi32.wglUseFontBitmapsW
|
||||
|
|
|
@ -690,6 +690,13 @@ void WINAPI wine_glGetIntegerv( GLenum pname, GLint* params )
|
|||
wine_wgl.p_wglGetIntegerv(pname, params);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* wglSwapBuffers (OPENGL32.@)
|
||||
*/
|
||||
BOOL WINAPI DECLSPEC_HOTPATCH wglSwapBuffers( HDC hdc )
|
||||
{
|
||||
return SwapBuffers(hdc);
|
||||
}
|
||||
|
||||
/* This is for brain-dead applications that use OpenGL functions before even
|
||||
creating a rendering context.... */
|
||||
|
|
Loading…
Reference in New Issue