[Mesa-dev] [PATCH 05/11] mesa: Remove unused struct gl_color_table

Ian Romanick idr at freedesktop.org
Wed Aug 31 13:21:55 PDT 2011


From: Ian Romanick <ian.d.romanick at intel.com>

---
 src/mesa/main/colortab.h |    1 -
 src/mesa/main/mtypes.h   |   19 -------------------
 2 files changed, 0 insertions(+), 20 deletions(-)

diff --git a/src/mesa/main/colortab.h b/src/mesa/main/colortab.h
index 3bc2066..b0d2b5d 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 6f9c5cb..d00aa70 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -524,25 +524,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.
  */
 /*@{*/
-- 
1.7.4.4



More information about the mesa-dev mailing list