aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-04-20 09:13:38 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-04-23 00:06:47 +0900
commit36b1b06a6002d33629404061e3cb8b82346e6bc9 (patch)
treef5f638d336a3c364da0c0874cb93dc1ac6af965e
parentEfl: Remove libeo.so.1.7.99-gdb.py that got added in the last commit. (diff)
downloadefl-36b1b06a6002d33629404061e3cb8b82346e6bc9.tar.gz
note in comments som get visual info from fbconfig stuff to mach
depths. doesn't help though.
-rw-r--r--src/modules/evas/engines/gl_x11/evas_engine.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c b/src/modules/evas/engines/gl_x11/evas_engine.c
index 204bf87bf0..b042b185fc 100644
--- a/src/modules/evas/engines/gl_x11/evas_engine.c
+++ b/src/modules/evas/engines/gl_x11/evas_engine.c
@@ -2190,6 +2190,13 @@ eng_image_native_set(void *data, void *image, void *native)
{
if (found == 0)
{
+// XVisualInfo *vi;
+//
+// vi = glXGetVisualFromFBConfig(re->win->disp, configs[j]);
+// if (!vi) continue;
+// if (vi->depth != depth) continue;
+// XFree(vi);
+
glXGetFBConfigAttrib(re->win->disp, configs[j],
GLX_BUFFER_SIZE, &val);
if (val != (int) depth) continue;