oops - forgot to force 24bpp to 32bpp in drm swapper.
authorCarsten Haitzler <raster@rasterman.com>
Mon, 21 Jan 2013 03:37:46 +0000 (03:37 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Mon, 21 Jan 2013 03:37:46 +0000 (03:37 +0000)
SVN revision: 83027

src/modules/evas/engines/software_x11/evas_xlib_swapper.c

index 501c0ab..c6c6dfc 100644 (file)
@@ -648,6 +648,10 @@ evas_xlib_swapper_new(Display *disp, Drawable draw, Visual *vis,
         free(swp);
         return NULL;
      }
+   if (swp->depth == 24)
+     { // need to adjust to 32bpp?? have to check
+        swp->depth = 32;
+     }
    if (swap_debug) printf("Swapper allocated OK\n");
    return swp;
 }