Mesa (master): mesa: rename VERBOSE_IMMEDIATE-> VERBOSE_MATERIAL to reflect what it does
Brian Paul
brianp at kemper.freedesktop.org
Thu Oct 15 01:08:51 UTC 2009
Module: Mesa
Branch: master
Commit: d9099f8602eb6d15e9fc2e0b0987e7a58fb98b68
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9099f8602eb6d15e9fc2e0b0987e7a58fb98b68
Author: Brian Paul <brianp at vmware.com>
Date: Wed Oct 14 15:46:25 2009 -0600
mesa: rename VERBOSE_IMMEDIATE->VERBOSE_MATERIAL to reflect what it does
---
src/mesa/main/debug.c | 2 +-
src/mesa/main/light.c | 2 +-
src/mesa/main/mtypes.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c
index 8492c85..530170b 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 10c89f4..1c8a081 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 a1184df..f0f21f6 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,
More information about the mesa-commit
mailing list