From 304d11e0e152d48902becd73004c4e8768b78f3e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 5 Aug 2003 15:54:08 +0000 Subject: Updates from Daniel Borca. --- src/mesa/drivers/windows/gdi/wgl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/mesa/drivers/windows/gdi') diff --git a/src/mesa/drivers/windows/gdi/wgl.c b/src/mesa/drivers/windows/gdi/wgl.c index bceaeb315e7..49b90e4ed65 100644 --- a/src/mesa/drivers/windows/gdi/wgl.c +++ b/src/mesa/drivers/windows/gdi/wgl.c @@ -1,4 +1,4 @@ -/* $Id: wgl.c,v 1.1 2003/07/24 03:47:46 kschultz Exp $ */ +/* $Id: wgl.c,v 1.2 2003/08/05 15:54:08 brianp Exp $ */ /* * This library is free software; you can redistribute it and/or @@ -471,6 +471,9 @@ WGLAPI int GLAPIENTRY wglSetLayerPaletteEntries(HDC hdc,int iLayerPlane, WGLAPI int GLAPIENTRY wglGetLayerPaletteEntries(HDC hdc,int iLayerPlane, int iStart,int cEntries, +#ifdef __MINGW32__ + CONST +#endif COLORREF *pcr) { SetLastError(0); -- cgit v1.2.3