summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-14 15:46:25 -0600
committerBrian Paul <[email protected]>2009-10-14 19:08:38 -0600
commitd9099f8602eb6d15e9fc2e0b0987e7a58fb98b68 (patch)
tree9d693a2cbe2199fe07315a795f7c2f4e5ceb8070 /src/mesa/main
parent73fc0ca4c36f258c4d0d7707dd3313a685c211bf (diff)
mesa: rename VERBOSE_IMMEDIATE->VERBOSE_MATERIAL to reflect what it does
Diffstat (limited to 'src/mesa/main')
-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 8492c8561d4..530170b5266 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 10c89f43688..1c8a081e9a6 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 a1184df2817..f0f21f633f7 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,