Mesa (master): mesa: Remove unused struct gl_color_table
Ian Romanick
idr at kemper.freedesktop.org
Tue Sep 6 19:10:32 UTC 2011
Module: Mesa
Branch: master
Commit: 960f37a57a7fcbac213c0b4fb0daf2285a64bf97
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=960f37a57a7fcbac213c0b4fb0daf2285a64bf97
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Aug 29 11:39:20 2011 -0700
mesa: Remove unused struct gl_color_table
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
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 b7d4ce1..129403c 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -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.
*/
/*@{*/
More information about the mesa-commit
mailing list