summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/windows/gdi/wgl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/windows/gdi/wgl.c')
-rw-r--r--src/mesa/drivers/windows/gdi/wgl.c5
1 files changed, 4 insertions, 1 deletions
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);