From: Rémi Bernon rbernon@codeweavers.com
--- dlls/opengl32/wgl.c | 12 ++++-------- include/wingdi.h | 11 ++++++++++- 2 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c index ff97d31b3eb..903e402d0d0 100644 --- a/dlls/opengl32/wgl.c +++ b/dlls/opengl32/wgl.c @@ -439,14 +439,10 @@ BOOL WINAPI wglDescribeLayerPlane(HDC hdc, /*********************************************************************** * wglGetLayerPaletteEntries (OPENGL32.@) */ -int WINAPI wglGetLayerPaletteEntries(HDC hdc, - int iLayerPlane, - int iStart, - int cEntries, - const COLORREF *pcr) { - FIXME("(): stub!\n"); - - return 0; +int WINAPI wglGetLayerPaletteEntries( HDC hdc, int plane, int start, int count, COLORREF *colors ) +{ + FIXME( "hdc %p, plane %d, start %d, count %d, colors %p, stub!\n", hdc, plane, start, count, colors ); + return 0; }
/*********************************************************************** diff --git a/include/wingdi.h b/include/wingdi.h index ef1b3e310aa..693b07a7fd5 100644 --- a/include/wingdi.h +++ b/include/wingdi.h @@ -4192,6 +4192,14 @@ WINGDIAPI BOOL WINAPI PolyTextOutW(HDC,const POLYTEXTW*,INT); #define WGL_FONT_LINES 0 #define WGL_FONT_POLYGONS 1
+typedef struct _WGLSWAP +{ + HDC hdc; + UINT uiFlags; +} WGLSWAP, *PWGLSWAP, *LPWGLSWAP; + +#define WGL_SWAPMULTIPLE_MAX 16 + /* WGL prototypes */ WGLAPI HGLRC WINAPI wglCreateContext(HDC); WGLAPI HGLRC WINAPI wglCreateLayerContext(HDC,INT); @@ -4200,7 +4208,7 @@ WGLAPI BOOL WINAPI wglDeleteContext(HGLRC); WGLAPI BOOL WINAPI wglDescribeLayerPlane(HDC,INT,INT,UINT,LPLAYERPLANEDESCRIPTOR); WGLAPI HGLRC WINAPI wglGetCurrentContext(void); WGLAPI HDC WINAPI wglGetCurrentDC(void); -WGLAPI INT WINAPI wglGetLayerPaletteEntries(HDC,INT,INT,INT,const COLORREF *); +WGLAPI INT WINAPI wglGetLayerPaletteEntries(HDC,INT,INT,INT,COLORREF *); WGLAPI PROC WINAPI wglGetProcAddress(LPCSTR); WGLAPI BOOL WINAPI wglMakeCurrent(HDC,HGLRC); WGLAPI BOOL WINAPI wglRealizeLayerPalette(HDC,INT,BOOL); @@ -4213,6 +4221,7 @@ WGLAPI BOOL WINAPI wglUseFontBitmapsW(HDC,DWORD,DWORD,DWORD); WGLAPI BOOL WINAPI wglUseFontOutlinesA(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,INT,LPGLYPHMETRICSFLOAT); WGLAPI BOOL WINAPI wglUseFontOutlinesW(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,INT,LPGLYPHMETRICSFLOAT); #define wglUseFontOutlines WINELIB_NAME_AW(wglUseFontOutlines) +WGLAPI DWORD WINAPI wglSwapMultipleBuffers(UINT,const WGLSWAP *);
#ifdef __cplusplus }