summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Borca <dborca@users.sourceforge.net>2003-12-11 16:16:33 +0000
committerDaniel Borca <dborca@users.sourceforge.net>2003-12-11 16:16:33 +0000
commit5bcf52b4d6951f9058b5ef00cf2438b3bdfbeea0 (patch)
tree5c7c594497e07f72777b23fc1cd3a832cf76b068
parente0ee87422be17a76e11241c408a3b85b7495540c (diff)
fixed prototypes for wglGammaRamp3DFX
-rw-r--r--src/mesa/drivers/glide/fxwgl.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mesa/drivers/glide/fxwgl.c b/src/mesa/drivers/glide/fxwgl.c
index 2de4e1a0d7..72a8c561b4 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}
};