diff options
author | Brian Paul <[email protected]> | 2003-07-22 03:51:46 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-07-22 03:51:46 +0000 |
commit | 05944c031cd6bea985050f0e88a19f0794f57887 (patch) | |
tree | 23b1def1e5c7fe1efe19deb67c366f811e21cdc0 /src/mesa/main/texobj.c | |
parent | f7fda86c6dcb7894157bd35a0cf15d003d48b441 (diff) |
Restore more code lost during last big merge.
Rename colortable-related functions.
Diffstat (limited to 'src/mesa/main/texobj.c')
-rw-r--r-- | src/mesa/main/texobj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index e131fae50e4..509523a130c 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -123,7 +123,7 @@ _mesa_initialize_texture_object( struct gl_texture_object *obj, obj->CompareFunc = GL_LEQUAL; /* ARB_shadow */ obj->DepthMode = GL_LUMINANCE; /* ARB_depth_texture */ obj->ShadowAmbient = 0.0F; /* ARB/SGIX_shadow_ambient */ - _mesa_init_one_colortable(&obj->Palette); + _mesa_init_colortable(&obj->Palette); } @@ -147,7 +147,7 @@ _mesa_delete_texture_object( GLcontext *ctx, struct gl_texture_object *texObj ) assert(texObj); - _mesa_free_one_colortable(&texObj->Palette); + _mesa_free_colortable_data(&texObj->Palette); /* free the texture images */ for (i = 0; i < MAX_TEXTURE_LEVELS; i++) { |