mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
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:
parent
3d6913ef3a
commit
13950e1f5d
3 changed files with 2 additions and 7 deletions
|
|
@ -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 },
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue