mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 13:20:25 +01:00
mesa: add SEVERITY_NOTIFICATION to default state
As per the spec quote:
"All messages are initially enabled unless their assigned severity
is DEBUG_SEVERITY_LOW"
We already had MEDIUM and HIGH set, let's toggle NOTIFICATION as well.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
This commit is contained in:
parent
078dd6a0b4
commit
53be28107b
1 changed files with 3 additions and 2 deletions
|
|
@ -243,8 +243,9 @@ debug_namespace_init(struct gl_debug_namespace *ns)
|
|||
make_empty_list(&ns->Elements);
|
||||
|
||||
/* Enable all the messages with severity HIGH or MEDIUM by default */
|
||||
ns->DefaultState = (1 << MESA_DEBUG_SEVERITY_HIGH) |
|
||||
(1 << MESA_DEBUG_SEVERITY_MEDIUM);
|
||||
ns->DefaultState = (1 << MESA_DEBUG_SEVERITY_MEDIUM ) |
|
||||
(1 << MESA_DEBUG_SEVERITY_HIGH) |
|
||||
(1 << MESA_DEBUG_SEVERITY_NOTIFICATION);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue