Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
Mesa.3102
u_Suppress-any-libGL-.-warnings-when-LIBGL_DEBU...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File u_Suppress-any-libGL-.-warnings-when-LIBGL_DEBUG-is-se.patch of Package Mesa.3102
From f69eca0843142d16c81cc3efd02fc50cf219cafd Mon Sep 17 00:00:00 2001 From: Stefan Dirsch <sndirsch@suse.de> Date: Fri, 22 Aug 2014 14:35:06 +0200 Subject: [PATCH] Suppress any "libGL:..." warnings when LIBGL_DEBUG == "quiet" (bnc#892896) Let's handle LIBGL_DEBUG env. variable in Mesa in a consistent way. --- src/mesa/drivers/dri/common/xmlconfig.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/common/xmlconfig.c b/src/mesa/drivers/dri/common/xmlconfig.c index ce37647..8e48522 100644 --- a/src/mesa/drivers/dri/common/xmlconfig.c +++ b/src/mesa/drivers/dri/common/xmlconfig.c @@ -429,8 +429,10 @@ static void __driUtilMessage(const char *f, ...) { va_list args; + const char *libgl_debug; - if (getenv("LIBGL_DEBUG")) { + libgl_debug=getenv("LIBGL_DEBUG"); + if (libgl_debug && !strstr(libgl_debug, "quiet")) { fprintf(stderr, "libGL: "); va_start(args, f); vfprintf(stderr, f, args); -- 1.8.4.5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor