diff options
author | Brian Paul <[email protected]> | 1999-11-19 22:51:29 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 1999-11-19 22:51:29 +0000 |
commit | f0dee6578ab658d89ec57cc476af7143fa13fde3 (patch) | |
tree | 877ea20635b60271ca2a7cfb7fe5cce4f7ab1b50 /src/mesa/main/context.c | |
parent | 7fb54ae3b3e84c6344bc788a5c51272f2a1c2fa6 (diff) |
renamed struct gl_palette as struct gl_color_table
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index e5ab6047834..a7fbddcbdb2 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1,4 +1,4 @@ -/* $Id: context.c,v 1.21 1999/11/19 22:26:52 brianp Exp $ */ +/* $Id: context.c,v 1.22 1999/11/19 22:51:29 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -544,7 +544,7 @@ static void init_2d_map( struct gl_2d_map *map, int n, const float *initial ) } -static void init_palette( struct gl_palette *p ) +static void init_color_table( struct gl_color_table *p ) { p->Table[0] = 255; p->Table[1] = 255; @@ -883,7 +883,7 @@ static void initialize_context( GLcontext *ctx ) for (i=0; i<MAX_TEXTURE_UNITS; i++) init_texture_unit( ctx, i ); - init_palette(&ctx->Texture.Palette); + init_color_table(&ctx->Texture.Palette); /* Transformation group */ ctx->Transform.MatrixMode = GL_MODELVIEW; |