diff --git a/src/modules/evas/engines/eglfs/evas_engine.c b/src/modules/evas/engines/eglfs/evas_engine.c index abd2c4b92d..cf7c21b0be 100644 --- a/src/modules/evas/engines/eglfs/evas_engine.c +++ b/src/modules/evas/engines/eglfs/evas_engine.c @@ -1100,6 +1100,12 @@ eng_image_native_set(void *data, void *image, void *native) return NULL; } +#ifndef EGL_WAYLAND_PLANE_WL +# define EGL_WAYLAND_PLANE_WL 0x31D6 +#endif +#ifndef EGL_WAYLAND_BUFFER_WL +# define EGL_WAYLAND_BUFFER_WL 0x31D5 +#endif attribs[0] = EGL_WAYLAND_PLANE_WL; attribs[1] = 0; //if plane is 1 then 0, if plane is 2 then 1 attribs[2] = EGL_NONE; diff --git a/src/modules/evas/engines/gl_drm/evas_engine.c b/src/modules/evas/engines/gl_drm/evas_engine.c index 144dcbdc4f..6facda4346 100644 --- a/src/modules/evas/engines/gl_drm/evas_engine.c +++ b/src/modules/evas/engines/gl_drm/evas_engine.c @@ -1322,6 +1322,12 @@ eng_image_native_set(void *data, void *image, void *native) return NULL; } +#ifndef EGL_WAYLAND_PLANE_WL +# define EGL_WAYLAND_PLANE_WL 0x31D6 +#endif +#ifndef EGL_WAYLAND_BUFFER_WL +# define EGL_WAYLAND_BUFFER_WL 0x31D5 +#endif attribs[0] = EGL_WAYLAND_PLANE_WL; attribs[1] = 0; //if plane is 1 then 0, if plane is 2 then 1 attribs[2] = EGL_NONE; diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c b/src/modules/evas/engines/gl_x11/evas_engine.c index 49d192eb35..6d7a349602 100644 --- a/src/modules/evas/engines/gl_x11/evas_engine.c +++ b/src/modules/evas/engines/gl_x11/evas_engine.c @@ -3059,6 +3059,12 @@ eng_image_native_set(void *data, void *image, void *native) return NULL; } +# ifndef EGL_WAYLAND_PLANE_WL +# define EGL_WAYLAND_PLANE_WL 0x31D6 +# endif +# ifndef EGL_WAYLAND_BUFFER_WL +# define EGL_WAYLAND_BUFFER_WL 0x31D5 +# endif attribs[0] = EGL_WAYLAND_PLANE_WL; attribs[1] = 0; //if plane is 1 then 0, if plane is 2 then 1 attribs[2] = EGL_NONE; diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c index 64bed02898..7b53d268f6 100644 --- a/src/modules/evas/engines/wayland_egl/evas_engine.c +++ b/src/modules/evas/engines/wayland_egl/evas_engine.c @@ -1197,6 +1197,12 @@ eng_image_native_set(void *data, void *image, void *native) return NULL; } +#ifndef EGL_WAYLAND_PLANE_WL +# define EGL_WAYLAND_PLANE_WL 0x31D6 +#endif +#ifndef EGL_WAYLAND_BUFFER_WL +# define EGL_WAYLAND_BUFFER_WL 0x31D5 +#endif attribs[0] = EGL_WAYLAND_PLANE_WL; attribs[1] = 0; //if plane is 1 then 0, if plane is 2 then 1 attribs[2] = EGL_NONE;