From 960f37a57a7fcbac213c0b4fb0daf2285a64bf97 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 29 Aug 2011 11:39:20 -0700 Subject: [PATCH] mesa: Remove unused struct gl_color_table Reviewed-by: Brian Paul Reviewed-by: Kenneth Graunke --- src/mesa/main/colortab.h | 1 - src/mesa/main/mtypes.h | 19 ------------------- 2 files changed, 20 deletions(-) diff --git a/src/mesa/main/colortab.h b/src/mesa/main/colortab.h index 3bc20667792..b0d2b5db845 100644 --- a/src/mesa/main/colortab.h +++ b/src/mesa/main/colortab.h @@ -32,7 +32,6 @@ #include "mfeatures.h" struct _glapi_table; -struct gl_color_table; #if FEATURE_colortable diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index b7d4ce122aa..129403c5b5e 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -564,25 +564,6 @@ struct gl_config }; -/** - * Data structure for color tables - */ -struct gl_color_table -{ - GLenum InternalFormat; /**< The user-specified format */ - GLenum _BaseFormat; /**< GL_ALPHA, GL_RGBA, GL_RGB, etc */ - GLuint Size; /**< number of entries in table */ - GLfloat *TableF; /**< Color table, floating point values */ - GLubyte *TableUB; /**< Color table, ubyte values */ - GLubyte RedSize; - GLubyte GreenSize; - GLubyte BlueSize; - GLubyte AlphaSize; - GLubyte LuminanceSize; - GLubyte IntensitySize; -}; - - /** * \name Bit flags used for updating material values. */ -- 2.30.2