summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2007-08-16 02:41:03 +0200
committerRoland Scheidegger <[email protected]>2007-08-16 02:41:03 +0200
commita6d4dddb38e2342a6f80d7a241f23900b8b4c633 (patch)
treeabef8900be6ccf2bafb3f04fdcf476ccc93406f3 /src
parentab999608582534bb5187a786b2ea437167f2d8a4 (diff)
suppress warning about ncon visuals (bug #6689)
Diffstat (limited to 'src')
-rw-r--r--src/glx/x11/glxext.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c
index af3a5166dc6..8fe10338a80 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 ) {