From 05944c031cd6bea985050f0e88a19f0794f57887 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 22 Jul 2003 03:51:46 +0000 Subject: Restore more code lost during last big merge. Rename colortable-related functions. --- src/mesa/main/colortab.h | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'src/mesa/main/colortab.h') diff --git a/src/mesa/main/colortab.h b/src/mesa/main/colortab.h index 959547e28b..9ccf27693f 100644 --- a/src/mesa/main/colortab.h +++ b/src/mesa/main/colortab.h @@ -77,28 +77,33 @@ _mesa_GetColorTableParameterfv( GLenum target, GLenum pname, GLfloat *params ); extern void _mesa_GetColorTableParameteriv( GLenum target, GLenum pname, GLint *params ); -extern void -_mesa_init_colortable( GLcontext * ctx ); -extern void -_mesa_free_colortable_data( GLcontext * ctx ); extern void -_mesa_free_one_colortable( struct gl_color_table *p ); +_mesa_init_colortable( struct gl_color_table *table ); extern void -_mesa_init_one_colortable( struct gl_color_table *p ); +_mesa_free_colortable_data( struct gl_color_table *table ); + +extern void +_mesa_init_colortables( GLcontext *ctx ); + +extern void +_mesa_free_colortables_data( GLcontext *ctx ); #else /** No-op */ -#define _mesa_init_one_colortable( p ) ((void)0) +#define _mesa_init_colortable( p ) ((void) 0) + +/** No-op */ +#define _mesa_free_colortable_data( p ) ((void) 0) /** No-op */ -#define _mesa_init_colortable( p ) ((void)0) +#define _mesa_init_colortables( p ) ((void)0) /** No-op */ -#define _mesa_free_colortable_data( p ) ((void)0) +#define _mesa_free_colortables_data( p ) ((void)0) #endif -- cgit v1.2.3