mesa: rename VERBOSE_IMMEDIATE->VERBOSE_MATERIAL to reflect what it does
authorBrian Paul <brianp@vmware.com>
Wed, 14 Oct 2009 21:46:25 +0000 (15:46 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 15 Oct 2009 01:08:38 +0000 (19:08 -0600)
src/mesa/main/debug.c
src/mesa/main/light.c
src/mesa/main/mtypes.h

index 8492c8561d422fec5d1c428b415737019559ec83..530170b52662d88626aabc5c37e77c2daa6c3321 100644 (file)
@@ -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 },
index 10c89f436888c748ce2598924cc2c9bd4dffa4c6..1c8a081e9a66583f731da9e938af5fd6838ce5ef 100644 (file)
@@ -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)
index a1184df28175804ee1e4462ef96f537126bb79bf..f0f21f633f79a1a36060140c0fd906fe7e48d57a 100644 (file)
@@ -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,