This is for bug #6883 Add usefull error message to GL failure...
authorKent Mein <mein@cs.umn.edu>
Tue, 26 Jun 2007 15:15:41 +0000 (15:15 +0000)
committerKent Mein <mein@cs.umn.edu>
Tue, 26 Jun 2007 15:15:41 +0000 (15:15 +0000)
https://projects.blender.org/tracker/index.php?func=detail&aid=6883&group_id=9&atid=125

I just cut and paste the printf provided in the bug report.  Its usefull info
at this point.

Kent

intern/ghost/intern/GHOST_WindowX11.cpp

index 056b5756587bce4b66d6b6ca4951c42fa4902907..db75dc721e5b31edb47092485817aeec4db728fe 100755 (executable)
@@ -168,6 +168,7 @@ GHOST_WindowX11(
 
        if (m_visual == NULL) {
                // barf : no visual meeting these requirements could be found.
+               printf("%s:%d: X11 glxChooseVisual() failed for OpenGL, verify working openGL system!\n", __FILE__, __LINE__);
                return;
        }