diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c index d15614e055b..83733a1879f 100644 --- a/src/mesa/main/debug.c +++ b/src/mesa/main/debug.c @@ -101,7 +101,6 @@ set_verbose_flags(const char *str) GLbitfield flag; }; static const struct option opts[] = { - { "mat", VERBOSE_MATERIAL }, { "state", VERBOSE_STATE }, { "list", VERBOSE_DISPLAY_LIST }, }; diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c index 7ebf28014d3..ea040cc9401 100644 --- a/src/mesa/main/light.c +++ b/src/mesa/main/light.c @@ -663,9 +663,6 @@ _mesa_update_material( struct gl_context *ctx, GLuint bitmask ) { GLfloat (*mat)[4] = ctx->Light.Material.Attrib; - if (MESA_VERBOSE & VERBOSE_MATERIAL) - _mesa_debug(ctx, "_mesa_update_material, mask 0x%x\n", bitmask); - if (!bitmask) return; diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 8d172b2523e..575603b6fcb 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -3670,9 +3670,8 @@ extern int MESA_DEBUG_FLAGS; /** The MESA_VERBOSE var is a bitmask of these flags */ enum _verbose { - VERBOSE_MATERIAL = 0x0001, - VERBOSE_STATE = 0x0002, - VERBOSE_DISPLAY_LIST = 0x0004, + VERBOSE_STATE = 0x0001, + VERBOSE_DISPLAY_LIST = 0x0002, };