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 49b4ddbd1f9ed741e024a5c73efbf5e3a9add89b..fb23d210db7bc60de11f86349f355c143b219323 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;