summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-10-14 15:46:25 -0600
committerBrian Paul <brianp@vmware.com>2009-10-14 19:08:38 -0600
commitd9099f8602eb6d15e9fc2e0b0987e7a58fb98b68 (patch)
tree9d693a2cbe2199fe07315a795f7c2f4e5ceb8070
parent73fc0ca4c36f258c4d0d7707dd3313a685c211bf (diff)
mesa: rename VERBOSE_IMMEDIATE->VERBOSE_MATERIAL to reflect what it does
-rw-r--r--src/mesa/main/debug.c2
-rw-r--r--src/mesa/main/light.c2
-rw-r--r--src/mesa/main/mtypes.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c
index 8492c8561d..530170b526 100644
--- a/src/mesa/main/debug.c
+++ b/src/mesa/main/debug.c
@@ -167,7 +167,7 @@ static void add_debug_flags( const char *debug )
static const struct debug_option debug_opt[] = {
{ "varray", VERBOSE_VARRAY },
{ "tex", VERBOSE_TEXTURE },
- { "imm", VERBOSE_IMMEDIATE },
+ { "mat", VERBOSE_MATERIAL },
{ "pipe", VERBOSE_PIPELINE },
{ "driver", VERBOSE_DRIVER },
{ "state", VERBOSE_STATE },
diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c
index 10c89f4368..1c8a081e9a 100644
--- a/src/mesa/main/light.c
+++ b/src/mesa/main/light.c
@@ -636,7 +636,7 @@ _mesa_update_material( GLcontext *ctx, GLuint bitmask )
struct gl_light *light, *list = &ctx->Light.EnabledList;
GLfloat (*mat)[4] = ctx->Light.Material.Attrib;
- if (MESA_VERBOSE&VERBOSE_IMMEDIATE)
+ if (MESA_VERBOSE & VERBOSE_MATERIAL)
_mesa_debug(ctx, "_mesa_update_material, mask 0x%x\n", bitmask);
if (!bitmask)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index a1184df281..f0f21f633f 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -3099,7 +3099,7 @@ enum _verbose
{
VERBOSE_VARRAY = 0x0001,
VERBOSE_TEXTURE = 0x0002,
- VERBOSE_IMMEDIATE = 0x0004,
+ VERBOSE_MATERIAL = 0x0004,
VERBOSE_PIPELINE = 0x0008,
VERBOSE_DRIVER = 0x0010,
VERBOSE_STATE = 0x0020,