Browse Source

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>
tags/mesa-9.2-rc1
Marek Olšák 12 years ago
parent
commit
74ca7f0974
3 changed files with 0 additions and 6 deletions
  1. 0
    3
      src/mesa/main/config.h
  2. 0
    1
      src/mesa/main/context.c
  3. 0
    2
      src/mesa/main/mtypes.h

+ 0
- 3
src/mesa/main/config.h View File

@@ -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


+ 0
- 1
src/mesa/main/context.c View File

@@ -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;

+ 0
- 2
src/mesa/main/mtypes.h View File

@@ -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 */

Loading…
Cancel
Save