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 3bc20667792b9a8193f2e433e25a498fe1c11137..b0d2b5db845f35d50dd844f00e2d056b3d1d549f 100644 (file)
@@ -32,7 +32,6 @@
 #include "mfeatures.h"
 
 struct _glapi_table;
-struct gl_color_table;
 
 #if FEATURE_colortable
 
index b7d4ce122aaaa3cc4d21e5731dbb4f9940911013..129403c5b5ec4283794f6782b8cbc01a694294b2 100644 (file)
@@ -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.
  */