add const to wglSetPixelFormat() to match .h declaration
authorBrian <brian.paul@tungstengraphics.com>
Mon, 2 Jul 2007 16:16:02 +0000 (10:16 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 2 Jul 2007 16:16:02 +0000 (10:16 -0600)
src/mesa/drivers/windows/gdi/wgl.c

index 49b4ddb..fb23d21 100644 (file)
@@ -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;