be less pedantic on fglrx.
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 17 Feb 2010 02:11:47 +0000 (02:11 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 17 Feb 2010 02:11:47 +0000 (02:11 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@46229 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/engines/gl_x11/evas_x_main.c

index d13ca37..2bfd4a9 100644 (file)
@@ -337,15 +337,16 @@ eng_best_visual_get(Evas_Engine_Info_GL_X11 *einfo)
         config_attrs[i++] = GLX_DOUBLEBUFFER;
         config_attrs[i++] = 1;
         config_attrs[i++] = GLX_RED_SIZE;
-        config_attrs[i++] = 4;
+        config_attrs[i++] = 1;
         config_attrs[i++] = GLX_GREEN_SIZE;
-        config_attrs[i++] = 4;
+        config_attrs[i++] =1;
         config_attrs[i++] = GLX_BLUE_SIZE;
-        config_attrs[i++] = 4;
+        config_attrs[i++] = 1;
         config_attrs[i++] = GLX_ALPHA_SIZE;
         config_attrs[i++] = 0;
-        config_attrs[i++] = GLX_RENDER_TYPE;
-        config_attrs[i++] = 0;//GLX_RGBA_BIT;
+//// only needed if we want argb        
+//        config_attrs[i++] = GLX_RENDER_TYPE;
+//        config_attrs[i++] = 0;//GLX_RGBA_BIT;
         config_attrs[i++] = GLX_DEPTH_SIZE;
         config_attrs[i++] = 0;
         config_attrs[i++] = GLX_STENCIL_SIZE;
@@ -394,6 +395,7 @@ eng_best_visual_get(Evas_Engine_Info_GL_X11 *einfo)
                }
              XFree(visinfo);
           }
+        printf("ecore_evas_gl_x11_new = %p\n", _evas_gl_x11_vi);
 #else   
         int _evas_gl_x11_configuration[] =
           {