evas - gl engine - this fixes the breakages in new nvidia drivers
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 9 Nov 2013 01:40:17 +0000 (10:40 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 9 Nov 2013 01:40:17 +0000 (10:40 +0900)
nvidia > 319 broke alpha windows. this code that was left commented
out fixes it. it didn't used to have any use.

src/modules/evas/engines/gl_x11/evas_engine.c

index 0a23ec1..b5b5be9 100644 (file)
@@ -2345,12 +2345,12 @@ 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);
+                                     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);