summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-07-02 10:16:02 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-07-02 10:16:02 -0600
commit9220255d75f14e8bea0c4e677d138f002aec55eb (patch)
tree9914d2a0069357da1bcb64327c1ae301d02388c1 /src/mesa/drivers
parent06542019a86d4b9e4f4dfb7a73aa131910465230 (diff)
add const to wglSetPixelFormat() to match .h declaration
Diffstat (limited to 'src/mesa/drivers')
-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 49b4ddbd1f..fb23d210db 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;