From: Ian Romanick Date: Mon, 29 Aug 2011 18:39:20 +0000 (-0700) Subject: mesa: Remove unused struct gl_color_table X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=960f37a57a7fcbac213c0b4fb0daf2285a64bf97;p=mesa.git mesa: Remove unused struct gl_color_table Reviewed-by: Brian Paul Reviewed-by: Kenneth Graunke --- 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. */