summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/evas/engines/gl_drm/evas_engine.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/evas/engines/gl_drm/evas_engine.c b/src/modules/evas/engines/gl_drm/evas_engine.c
index 5155c4b34e..4c6bf7452b 100644
--- a/src/modules/evas/engines/gl_drm/evas_engine.c
+++ b/src/modules/evas/engines/gl_drm/evas_engine.c
@@ -1084,8 +1084,7 @@ eng_image_native_set(void *data, void *image, void *native)
1084 if ((n = calloc(1, sizeof(Native)))) 1084 if ((n = calloc(1, sizeof(Native))))
1085 { 1085 {
1086 EGLint attribs[3]; 1086 EGLint attribs[3];
1087 int yinvert = 1; 1087 int format, yinvert = 1;
1088 uint32_t format;
1089 1088
1090 glsym_eglQueryWaylandBufferWL(ob->egl_disp, wl_buf, EGL_TEXTURE_FORMAT, &format); 1089 glsym_eglQueryWaylandBufferWL(ob->egl_disp, wl_buf, EGL_TEXTURE_FORMAT, &format);
1091 if ((format != EGL_TEXTURE_RGB) && (format != EGL_TEXTURE_RGBA)) 1090 if ((format != EGL_TEXTURE_RGB) && (format != EGL_TEXTURE_RGBA))