From 0be05b904645e4012bb14a1d66f1fd7729ac629f Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 17 Feb 2010 02:11:47 +0000 Subject: [PATCH] be less pedantic on fglrx. SVN revision: 46229 --- legacy/evas/src/modules/engines/gl_x11/evas_x_main.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/legacy/evas/src/modules/engines/gl_x11/evas_x_main.c b/legacy/evas/src/modules/engines/gl_x11/evas_x_main.c index d13ca377e1..2bfd4a94fd 100644 --- a/legacy/evas/src/modules/engines/gl_x11/evas_x_main.c +++ b/legacy/evas/src/modules/engines/gl_x11/evas_x_main.c @@ -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[] = {