forked from enlightenment/efl
Check for valid wl_shm before trying to create the shm pool.
Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 83277
This commit is contained in:
parent
fa783d8e75
commit
949d008b13
|
@ -167,6 +167,9 @@ _evas_swapper_buffer_new(Wl_Swapper *ws, Wl_Buffer *wb)
|
|||
int fd = 0;
|
||||
size_t size;
|
||||
|
||||
/* make sure swapper has a shm */
|
||||
if (!ws->shm) return;
|
||||
|
||||
wb->w = ws->w;
|
||||
wb->h = ws->h;
|
||||
|
||||
|
|
Loading…
Reference in New Issue