diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-07-02 10:16:02 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-07-02 10:16:02 -0600 |
commit | 9220255d75f14e8bea0c4e677d138f002aec55eb (patch) | |
tree | 9914d2a0069357da1bcb64327c1ae301d02388c1 /src/mesa/drivers | |
parent | 06542019a86d4b9e4f4dfb7a73aa131910465230 (diff) |
add const to wglSetPixelFormat() to match .h declaration
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/windows/gdi/wgl.c | 2 |
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; |