summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-10-13 11:45:52 -0700
committerCedric BAIL <cedric@osg.samsung.com>2015-10-13 11:45:52 -0700
commit0d6c53268d8dbf0a6239e264f01a01fe9e48cc9c (patch)
treeea7c644091e031fb4a1b7550ccc6294a78b07845
parentd8eae4d4e5f4c8faa4bd2f4d8bd2bf3330e9c697 (diff)
evas: follow API documentation more closely.
-rw-r--r--src/modules/evas/engines/gl_drm/evas_engine.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/modules/evas/engines/gl_drm/evas_engine.c b/src/modules/evas/engines/gl_drm/evas_engine.c
index 1384bc99ea..8f3524bc3f 100644
--- a/src/modules/evas/engines/gl_drm/evas_engine.c
+++ b/src/modules/evas/engines/gl_drm/evas_engine.c
@@ -1155,9 +1155,10 @@ eng_image_native_set(void *data, void *image, void *native)
1155 attribs[2] = EGL_NONE; 1155 attribs[2] = EGL_NONE;
1156 1156
1157 memcpy(&(n->ns), ns, sizeof(Evas_Native_Surface)); 1157 memcpy(&(n->ns), ns, sizeof(Evas_Native_Surface));
1158 glsym_eglQueryWaylandBufferWL(ob->egl.disp, wl_buf, 1158 if (glsym_eglQueryWaylandBufferWL(ob->egl.disp, wl_buf,
1159 EGL_WAYLAND_Y_INVERTED_WL, 1159 EGL_WAYLAND_Y_INVERTED_WL,
1160 &yinvert); 1160 &yinvert) == EGL_FALSE)
1161 yinvert = 1;
1161 eina_hash_add(ob->gl_context->shared->native_wl_hash, 1162 eina_hash_add(ob->gl_context->shared->native_wl_hash,
1162 &wlid, img); 1163 &wlid, img);
1163 1164