mesa/main: remove low-value verbose-switch

This toggles a single, low-value print. Let's drop it to simplify things
a bit.
This commit is contained in:
Erik Faye-Lund 2026-04-23 11:29:30 +02:00 committed by Christian Gmeiner
parent 3d6913ef3a
commit 13950e1f5d
3 changed files with 2 additions and 7 deletions

View file

@ -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 },
};

View file

@ -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;

View file

@ -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,
};