forked from enlightenment/efl
oops - forgot to force 24bpp to 32bpp in drm swapper.
SVN revision: 83027
This commit is contained in:
parent
5ae84c97ce
commit
01739d4cc1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue