diff options
author | Marek Olšák <[email protected]> | 2013-05-02 04:09:04 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-05-11 23:45:01 +0200 |
commit | 74ca7f0974f4c5d794da263bf28b71a9d285a49a (patch) | |
tree | 4912f51611d532bf09ab2a2c8272d965ed9a3dfa /src/mesa | |
parent | 286d06ddc4968c06848faf2b375a8d20f3e74595 (diff) |
mesa: remove unused gl_constants::MaxColorTableSize
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/config.h | 3 | ||||
-rw-r--r-- | src/mesa/main/context.c | 1 | ||||
-rw-r--r-- | src/mesa/main/mtypes.h | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index c48ffdc4778..ea87b754a40 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -91,9 +91,6 @@ /** Line width granularity */ #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) */ #define MAX_TEXTURE_MBYTES 1024 diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 3041ec24aec..2006a44d638 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -571,7 +571,6 @@ _mesa_init_constants(struct gl_context *ctx) ctx->Const.MinLineWidthAA = MIN_LINE_WIDTH; ctx->Const.MaxLineWidthAA = MAX_LINE_WIDTH; ctx->Const.LineWidthGranularity = (GLfloat) LINE_WIDTH_GRANULARITY; - ctx->Const.MaxColorTableSize = MAX_COLOR_TABLE_SIZE; ctx->Const.MaxClipPlanes = 6; ctx->Const.MaxLights = MAX_LIGHTS; ctx->Const.MaxShininess = 128.0; diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 1d24c9926aa..14a9af0023d 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2771,8 +2771,6 @@ struct gl_constants GLfloat MinLineWidthAA, MaxLineWidthAA; /**< antialiased */ GLfloat LineWidthGranularity; - GLuint MaxColorTableSize; - GLuint MaxClipPlanes; GLuint MaxLights; GLfloat MaxShininess; /**< GL_NV_light_max_exponent */ |