mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-18 11:38:06 +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. Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Eric R. Smith <eric.smith@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41129>
This commit is contained in:
parent
1490ad5f09
commit
2d0e368937
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