summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-03-07 18:24:49 +0000
committerBrian Paul <[email protected]>2000-03-07 18:24:49 +0000
commitfca17350b630ce26e2335ffb29d58c9bf897accb (patch)
tree51a34a7712f4421f0d563cc24e20c3895ede586f /src/mesa/main
parent7a7ca3f345361d26a56de767fc63a1f2d2934ea8 (diff)
removed Driver.UseGlobalTexturePalette()
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/dd.h7
-rw-r--r--src/mesa/main/enable.c4
2 files changed, 2 insertions, 9 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 78397c46432..fd6874cd3d3 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -1,4 +1,4 @@
-/* $Id: dd.h,v 1.16 2000/03/07 17:11:29 brianp Exp $ */
+/* $Id: dd.h,v 1.17 2000/03/07 18:24:49 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -626,11 +626,6 @@ struct dd_function_table {
* was changed.
*/
- void (*UseGlobalTexturePalette)( GLcontext *ctx, GLboolean state );
- /*
- * Called via glEnable/Disable(GL_SHARED_TEXTURE_PALETTE_EXT)
- */
-
void (*ActiveTexture)( GLcontext *ctx, GLuint texUnitNumber );
/*
* Called by glActiveTextureARB to set current texture unit.
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c
index 8a1b79f610f..94defaad74a 100644
--- a/src/mesa/main/enable.c
+++ b/src/mesa/main/enable.c
@@ -1,4 +1,4 @@
-/* $Id: enable.c,v 1.10 1999/11/11 01:22:26 brianp Exp $ */
+/* $Id: enable.c,v 1.11 2000/03/07 18:24:49 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -328,8 +328,6 @@ void _mesa_set_enable( GLcontext *ctx, GLenum cap, GLboolean state )
break;
case GL_SHARED_TEXTURE_PALETTE_EXT:
ctx->Texture.SharedPalette = state;
- if (ctx->Driver.UseGlobalTexturePalette)
- (*ctx->Driver.UseGlobalTexturePalette)( ctx, state );
break;
case GL_STENCIL_TEST:
if (state && ctx->Visual->StencilBits==0) {