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:
@@ -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
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
@@ -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 */
|
||||||
|
Reference in New Issue
Block a user