oops - forgot to force 24bpp to 32bpp in drm swapper.

SVN revision: 83027
This commit is contained in:
Carsten Haitzler 2013-01-21 03:37:46 +00:00
parent 5ae84c97ce
commit 01739d4cc1
1 changed files with 4 additions and 0 deletions

View 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;
}