summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-07-02 10:15:39 -0600
committerBrian <[email protected]>2007-07-02 10:15:39 -0600
commit9bfba734d88ca5faf8db71ce6d10fb872a38339e (patch)
tree1ac122682438d6fec0e7aea0147b5e453fb895cf
parentaaebf2f47ea32c7c89d689f3cca3bc6eeda6b304 (diff)
add const to wglSetPixelFormat() to match .h declaration
-rw-r--r--src/mesa/drivers/windows/gdi/wgl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/windows/gdi/wgl.c b/src/mesa/drivers/windows/gdi/wgl.c
index 49b4ddbd1f9..fb23d210db7 100644
--- a/src/mesa/drivers/windows/gdi/wgl.c
+++ b/src/mesa/drivers/windows/gdi/wgl.c
@@ -339,7 +339,7 @@ WINGDIAPI int GLAPIENTRY wglGetPixelFormat(HDC hdc)
}
WINGDIAPI BOOL GLAPIENTRY wglSetPixelFormat(HDC hdc,int iPixelFormat,
- PIXELFORMATDESCRIPTOR *ppfd)
+ const PIXELFORMATDESCRIPTOR *ppfd)
{
(void) hdc;