From: Brian Date: Mon, 2 Jul 2007 16:16:02 +0000 (-0600) Subject: add const to wglSetPixelFormat() to match .h declaration X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9220255d75f14e8bea0c4e677d138f002aec55eb;p=mesa.git add const to wglSetPixelFormat() to match .h declaration --- 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;