summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/windows
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-08-05 15:54:08 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-08-05 15:54:08 +0000
commit304d11e0e152d48902becd73004c4e8768b78f3e (patch)
tree7edcb3756e4649a390410ac85f1b93dff204f4ad /src/mesa/drivers/windows
parent288066985374bcad743c5923474257fb2c52a623 (diff)
Updates from Daniel Borca.
Diffstat (limited to 'src/mesa/drivers/windows')
-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 bceaeb315e..49b90e4ed6 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);