From: Emil Velikov Date: Thu, 26 Nov 2015 00:36:14 +0000 (+0000) Subject: mesa: add SEVERITY_NOTIFICATION to default state X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53be28107b44200a59c678c5d2234efeb48d0b35;p=mesa.git 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 Reviewed-by: Timothy Arceri --- diff --git a/src/mesa/main/errors.c b/src/mesa/main/errors.c index fda5a90bf5e..a24700072d8 100644 --- a/src/mesa/main/errors.c +++ b/src/mesa/main/errors.c @@ -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