diff options
author | Roland Scheidegger <sroland@tungstengraphics.com> | 2007-08-16 02:41:03 +0200 |
---|---|---|
committer | Roland Scheidegger <sroland@tungstengraphics.com> | 2007-08-16 02:41:03 +0200 |
commit | a6d4dddb38e2342a6f80d7a241f23900b8b4c633 (patch) | |
tree | abef8900be6ccf2bafb3f04fdcf476ccc93406f3 /src/glx/x11 | |
parent | ab999608582534bb5187a786b2ea437167f2d8a4 (diff) |
suppress warning about ncon visuals (bug #6689)
Diffstat (limited to 'src/glx/x11')
-rw-r--r-- | src/glx/x11/glxext.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c index af3a5166dc..8fe10338a8 100644 --- a/src/glx/x11/glxext.c +++ b/src/glx/x11/glxext.c @@ -672,8 +672,11 @@ filter_modes( __GLcontextModes ** server_modes, 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->visualRating != GLX_NON_CONFORMANT_CONFIG) { + fprintf(stderr, "libGL warning: 3D driver claims to not " + "support visual 0x%02x\n", m->visualID); + } } if ( do_delete ) { |