fixed prototypes for wglGammaRamp3DFX
authorDaniel Borca <dborca@users.sourceforge.net>
Thu, 11 Dec 2003 16:16:33 +0000 (16:16 +0000)
committerDaniel Borca <dborca@users.sourceforge.net>
Thu, 11 Dec 2003 16:16:33 +0000 (16:16 +0000)
src/mesa/drivers/glide/fxwgl.c

index 2de4e1a0d7485e9e687ddf81432c1239b105fc5f..72a8c561b423d95586f39404a6e08e4a0064c497 100644 (file)
@@ -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}
 };