summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-26 20:31:06 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-26 20:31:06 +0000
commit80140f7724f3fd2b1497a783d7b1078a8cda94fe (patch)
treefb3c4d840c6ab398972b26889873215fb43cecf4
parent49ac4121cf8fe52316faf2829d348c51d7ac7a5e (diff)
evas - gl - respect yinvert now as it ... seems to work.
-rw-r--r--src/modules/evas/engines/gl_drm/evas_engine.c4
1 files changed, 2 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 c1e1c34217..3ecea196c5 100644
--- a/src/modules/evas/engines/gl_drm/evas_engine.c
+++ b/src/modules/evas/engines/gl_drm/evas_engine.c
@@ -1467,10 +1467,10 @@ eng_image_native_set(void *engine, void *image, void *native)
1467 return NULL; 1467 return NULL;
1468 } 1468 }
1469 1469
1470 img->native.yinvert = yinvert;
1470 //XXX: workaround for mesa-10.2.8 1471 //XXX: workaround for mesa-10.2.8
1471 // mesa's eglQueryWaylandBufferWL() with EGL_WAYLAND_Y_INVERTED_WL works incorrect. 1472 // mesa's eglQueryWaylandBufferWL() with EGL_WAYLAND_Y_INVERTED_WL works incorrect.
1472 //img->native.yinvert = yinvert; 1473 //img->native.yinvert = 1;
1473 img->native.yinvert = 1;
1474 img->native.loose = 0; 1474 img->native.loose = 0;
1475 img->native.disp = ob->egl.disp; 1475 img->native.disp = ob->egl.disp;
1476 img->native.shared = ob->gl_context->shared; 1476 img->native.shared = ob->gl_context->shared;