summaryrefslogtreecommitdiff
path: root/src/mesa/main/texstate.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-07-22 03:51:46 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-07-22 03:51:46 +0000
commit05944c031cd6bea985050f0e88a19f0794f57887 (patch)
tree23b1def1e5c7fe1efe19deb67c366f811e21cdc0 /src/mesa/main/texstate.c
parentf7fda86c6dcb7894157bd35a0cf15d003d48b441 (diff)
Restore more code lost during last big merge.
Rename colortable-related functions.
Diffstat (limited to 'src/mesa/main/texstate.c')
-rw-r--r--src/mesa/main/texstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index d61b2019e5..72419922eb 100644
--- a/src/mesa/main/texstate.c
+++ b/src/mesa/main/texstate.c
@@ -2966,7 +2966,7 @@ GLboolean _mesa_init_texture( GLcontext * ctx )
for (i=0; i<MAX_TEXTURE_UNITS; i++)
init_texture_unit( ctx, i );
ctx->Texture.SharedPalette = GL_FALSE;
- _mesa_init_one_colortable(&ctx->Texture.Palette);
+ _mesa_init_colortable(&ctx->Texture.Palette);
/* Allocate proxy textures */
if (!alloc_proxy_textures( ctx ))
@@ -2987,5 +2987,5 @@ void _mesa_free_texture_data( GLcontext *ctx )
(ctx->Driver.DeleteTexture)(ctx, ctx->Texture.ProxyRect );
for (i = 0; i < MAX_TEXTURE_IMAGE_UNITS; i++)
- _mesa_free_one_colortable( &ctx->Texture.Unit[i].ColorTable );
+ _mesa_free_colortable_data( &ctx->Texture.Unit[i].ColorTable );
}