SHA256
1
0
forked from pool/Mesa
OBS User unknown 2007-08-15 18:33:14 +00:00 committed by Git OBS Bridge
parent 36311fa716
commit e73d021c8e
3 changed files with 17 additions and 5 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Aug 13 03:06:02 CEST 2007 - sndirsch@suse.de
- disable-libGL-warning.diff:
* Just filters warnings about unsupported non-conformant visuals
instead of relying on the visual id. (X.Org Bug #6689)
-------------------------------------------------------------------
Sun Aug 12 10:59:23 CEST 2007 - sndirsch@suse.de

View File

@ -19,7 +19,7 @@ Provides: xorg-x11-Mesa
Obsoletes: xorg-x11-Mesa
Autoreqprov: on
Version: 7.0.1
Release: 4
Release: 6
Summary: Mesa is a 3-D graphics library with an API which is very similar to that of OpenGL.*
Source: MesaLib-%{version}.tar.bz2
Source1: MesaDemos-%{version}.tar.bz2
@ -276,6 +276,10 @@ rm -rf $RPM_BUILD_ROOT
/usr/%{_lib}/libMesaGL.a
%changelog
* Mon Aug 13 2007 - sndirsch@suse.de
- disable-libGL-warning.diff:
* Just filters warnings about unsupported non-conformant visuals
instead of relying on the visual id. (X.Org Bug #6689)
* Sun Aug 12 2007 - sndirsch@suse.de
- disable-libGL-warning.diff:
* ignore unsupported visual 0x4b (Bug #247471, X.Org Bug #6689)

View File

@ -1,14 +1,15 @@
--- src/glx/x11/glxext.c.orig 2007-08-12 10:45:15.688553249 +0200
+++ src/glx/x11/glxext.c 2007-08-12 10:55:49.810243457 +0200
@@ -672,8 +672,11 @@ filter_modes( __GLcontextModes ** server
@@ -672,8 +672,12 @@ filter_modes( __GLcontextModes ** server
if ( do_delete && (m->visualID != 0) ) {
do_delete = GL_FALSE;
- fprintf(stderr, "libGL warning: 3D driver claims to not support "
- "visual 0x%02x\n", m->visualID);
+ /* don't warn for this visual (Novell #247471 / X.Org #6689) */
+ if (m->visualID != 0x4b) {
+ fprintf(stderr, "libGL warning: 3D driver claims to not "
+ /* filter warnings about unsupported non-conformant visuals
+ (Novell #247471 / X.Org #6689) */
+ if (m->visualRating != GLX_NON_CONFORMANT_CONFIG) {
+ fprintf(stderr, "libGL warning: 3D driver claims to not "
+ "support visual 0x%02x\n", m->visualID);
+ }
}