mesa: remove unused gl_constants::MaxColorTableSize

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Marek Olšák
2013-05-02 04:09:04 +02:00
parent 286d06ddc4
commit 74ca7f0974
3 changed files with 0 additions and 6 deletions

View File

@@ -91,9 +91,6 @@
/** Line width granularity */ /** Line width granularity */
#define LINE_WIDTH_GRANULARITY 0.1 #define LINE_WIDTH_GRANULARITY 0.1
/** Max texture palette / color table size */
#define MAX_COLOR_TABLE_SIZE 256
/** Max memory to allow for a single texture image (in megabytes) */ /** Max memory to allow for a single texture image (in megabytes) */
#define MAX_TEXTURE_MBYTES 1024 #define MAX_TEXTURE_MBYTES 1024

View File

@@ -571,7 +571,6 @@ _mesa_init_constants(struct gl_context *ctx)
ctx->Const.MinLineWidthAA = MIN_LINE_WIDTH; ctx->Const.MinLineWidthAA = MIN_LINE_WIDTH;
ctx->Const.MaxLineWidthAA = MAX_LINE_WIDTH; ctx->Const.MaxLineWidthAA = MAX_LINE_WIDTH;
ctx->Const.LineWidthGranularity = (GLfloat) LINE_WIDTH_GRANULARITY; ctx->Const.LineWidthGranularity = (GLfloat) LINE_WIDTH_GRANULARITY;
ctx->Const.MaxColorTableSize = MAX_COLOR_TABLE_SIZE;
ctx->Const.MaxClipPlanes = 6; ctx->Const.MaxClipPlanes = 6;
ctx->Const.MaxLights = MAX_LIGHTS; ctx->Const.MaxLights = MAX_LIGHTS;
ctx->Const.MaxShininess = 128.0; ctx->Const.MaxShininess = 128.0;

View File

@@ -2771,8 +2771,6 @@ struct gl_constants
GLfloat MinLineWidthAA, MaxLineWidthAA; /**< antialiased */ GLfloat MinLineWidthAA, MaxLineWidthAA; /**< antialiased */
GLfloat LineWidthGranularity; GLfloat LineWidthGranularity;
GLuint MaxColorTableSize;
GLuint MaxClipPlanes; GLuint MaxClipPlanes;
GLuint MaxLights; GLuint MaxLights;
GLfloat MaxShininess; /**< GL_NV_light_max_exponent */ GLfloat MaxShininess; /**< GL_NV_light_max_exponent */