opengl: Tweak the internal_wglUseFontBitmaps() declaration so
winapi_check can parse it: it has trouble with nested function type
declarations.
Francois Gouget
fgouget at free.fr
Fri Sep 29 05:49:48 CDT 2006
---
dlls/winex11.drv/opengl.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index 44cafe1..23994c0 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -1477,7 +1477,9 @@ BOOL WINAPI X11DRV_wglShareLists(HGLRC h
return FALSE;
}
-static BOOL internal_wglUseFontBitmaps(HDC hdc, DWORD first, DWORD count, DWORD listBase, DWORD (WINAPI GetGlyphOutline_ptr)(HDC,UINT,UINT,LPGLYPHMETRICS,DWORD,LPVOID,const MAT2*))
+typedef DWORD (WINAPI *GetGlyphOutline_t)(HDC,UINT,UINT,LPGLYPHMETRICS,DWORD,LPVOID,const MAT2*);
+
+static BOOL internal_wglUseFontBitmaps(HDC hdc, DWORD first, DWORD count, DWORD listBase, GetGlyphOutline_t GetGlyphOutline_ptr)
{
/* We are running using client-side rendering fonts... */
GLYPHMETRICS gm;
--
1.4.1.1
More information about the wine-patches
mailing list