mesa: Remove unused struct gl_color_table
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 29 Aug 2011 18:39:20 +0000 (11:39 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 6 Sep 2011 19:09:12 +0000 (12:09 -0700)
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/colortab.h
src/mesa/main/mtypes.h

index 3bc2066..b0d2b5d 100644 (file)
@@ -32,7 +32,6 @@
 #include "mfeatures.h"
 
 struct _glapi_table;
-struct gl_color_table;
 
 #if FEATURE_colortable
 
index b7d4ce1..129403c 100644 (file)
@@ -565,25 +565,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.
  */
 /*@{*/