From 5bcf52b4d6951f9058b5ef00cf2438b3bdfbeea0 Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Thu, 11 Dec 2003 16:16:33 +0000 Subject: [PATCH] fixed prototypes for wglGammaRamp3DFX --- src/mesa/drivers/glide/fxwgl.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/mesa/drivers/glide/fxwgl.c b/src/mesa/drivers/glide/fxwgl.c index 2de4e1a0d74..72a8c561b42 100644 --- a/src/mesa/drivers/glide/fxwgl.c +++ b/src/mesa/drivers/glide/fxwgl.c @@ -424,13 +424,13 @@ wglGetSwapIntervalEXT (void) } GLAPI BOOL GLAPIENTRY -wglGetDeviceGammaRampEXT (unsigned char *r, unsigned char *g, unsigned char *b) +wglGetDeviceGammaRamp3DFX (HDC hdc, LPVOID arrays) { return TRUE; } GLAPI BOOL GLAPIENTRY -wglSetDeviceGammaRampEXT (const unsigned char *r, const unsigned char *g, const unsigned char *b) +wglSetDeviceGammaRamp3DFX (HDC hdc, LPVOID arrays) { return TRUE; } @@ -457,10 +457,8 @@ static struct { {"wglGetExtensionsStringEXT", wglGetExtensionsStringEXT}, {"wglSwapIntervalEXT", wglSwapIntervalEXT}, {"wglGetSwapIntervalEXT", wglGetSwapIntervalEXT}, - {"wglGetDeviceGammaRampEXT", wglGetDeviceGammaRampEXT}, - {"wglGetDeviceGammaRamp3DFX", wglGetDeviceGammaRampEXT}, - {"wglSetDeviceGammaRampEXT", wglSetDeviceGammaRampEXT}, - {"wglSetDeviceGammaRamp3DFX", wglSetDeviceGammaRampEXT}, + {"wglGetDeviceGammaRamp3DFX", wglGetDeviceGammaRamp3DFX}, + {"wglSetDeviceGammaRamp3DFX", wglSetDeviceGammaRamp3DFX}, {NULL, NULL} }; -- 2.30.2