forked from enlightenment/efl
evas-wayland-shm: Create buffers with ARGB by default
We need to be creating buffers with ARGB by default so that things like Alpha/Transparency work when toggled. If we always create with XRGB then toggling Alpha/Transparency state fails. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
67917c27fe
commit
91437a3424
|
@ -230,7 +230,7 @@ _shm_data_create_from_pool(Shm_Pool *pool, int w, int h, Eina_Bool alpha)
|
||||||
{
|
{
|
||||||
Shm_Data *data;
|
Shm_Data *data;
|
||||||
int len, offset;
|
int len, offset;
|
||||||
uint32_t wl_format = WL_SHM_FORMAT_XRGB8888;
|
uint32_t wl_format = WL_SHM_FORMAT_ARGB8888;
|
||||||
|
|
||||||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue