forked from enlightenment/efl
evas-wayland-shm: Pass along the wl_display parameter to the surface creation function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
b1bb88b8f2
commit
fae40e995b
|
@ -10,7 +10,7 @@
|
|||
#define BLUE_MASK 0x0000ff
|
||||
|
||||
Outbuf *
|
||||
_evas_outbuf_setup(int w, int h, int rot, Outbuf_Depth depth, Eina_Bool alpha, struct wl_shm *shm, struct wl_surface *surface)
|
||||
_evas_outbuf_setup(int w, int h, int rot, Outbuf_Depth depth, Eina_Bool alpha, struct wl_shm *shm, struct wl_surface *surface, struct wl_display *disp)
|
||||
{
|
||||
Outbuf *ob = NULL;
|
||||
char *num;
|
||||
|
@ -44,7 +44,7 @@ _evas_outbuf_setup(int w, int h, int rot, Outbuf_Depth depth, Eina_Bool alpha, s
|
|||
|
||||
/* try to create the outbuf surface */
|
||||
if (!(ob->surface =
|
||||
_evas_shm_surface_create(shm, surface, w, h, ob->num_buff, alpha)))
|
||||
_evas_shm_surface_create(disp, shm, surface, w, h, ob->num_buff, alpha)))
|
||||
goto surf_err;
|
||||
|
||||
eina_array_step_set(&ob->priv.onebuf_regions, sizeof(Eina_Array), 8);
|
||||
|
|
Loading…
Reference in New Issue