diff options
author | Roland Scheidegger <[email protected]> | 2007-08-16 02:41:03 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2007-08-16 02:43:45 +0200 |
commit | c48efb1dbe9718733b6d7e35acc244ca893e954b (patch) | |
tree | d10142b715452161419e0d7ec6f3955979549f4f | |
parent | 5408acb6b73a06991d1552fd7a8308f76bf596c4 (diff) |
suppress warning about ncon visuals (bug #6689)
-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 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 ) { |