]> git.saurik.com Git - wxWidgets.git/commitdiff
just disable alpha buffer to make it more portable as
authorSylvain Bougnoux <bougnoux@imra-europe.com>
Thu, 12 Aug 1999 15:02:44 +0000 (15:02 +0000)
committerSylvain Bougnoux <bougnoux@imra-europe.com>
Thu, 12 Aug 1999 15:02:44 +0000 (15:02 +0000)
many hardware doesn't have a true alpha plane !

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/glcanvas/gtk/glcanvas.cpp

index c1085b2914c9fb28226ed0b7d9fb91ce4fa28c1f..fc5c324d5281539d0db36d92886384f4bcd57420 100644 (file)
@@ -220,7 +220,7 @@ bool wxGLCanvas::Create( wxWindow *parent,
                       GLX_RED_SIZE, 1, 
                       GLX_GREEN_SIZE, 1, 
                       GLX_BLUE_SIZE, 1, 
-                      GLX_ALPHA_SIZE, 1
+                      GLX_ALPHA_SIZE, 0
                       None };
        attribList = (int*) data;
     }