summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_x11/evas_engine.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-10-12 17:47:19 -0700
committerCedric BAIL <cedric@osg.samsung.com>2015-10-12 17:47:40 -0700
commit5c02935a866a5c1468603ca774c06efc80d5c2e0 (patch)
treed5ffbbd80d93d5527d14cafc7081282d460f8e52 /src/modules/evas/engines/gl_x11/evas_engine.c
parenta4542b245768d48ae419bbfb87d5217c699bcc26 (diff)
evas: correctly get GLX_Y_INVERTED_EXT.
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/gl_x11/evas_engine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c b/src/modules/evas/engines/gl_x11/evas_engine.c
index 7a14b8fec2..883b2db2c1 100644
--- a/src/modules/evas/engines/gl_x11/evas_engine.c
+++ b/src/modules/evas/engines/gl_x11/evas_engine.c
@@ -2181,7 +2181,7 @@ _native_yinvert_cb(void *data, void *image)
2181#else 2181#else
2182 glXGetFBConfigAttrib(eng_get_ob(re)->disp, n->config, 2182 glXGetFBConfigAttrib(eng_get_ob(re)->disp, n->config,
2183 GLX_Y_INVERTED_EXT, &val); 2183 GLX_Y_INVERTED_EXT, &val);
2184 yinvert = val; 2184 if (val == TRUE) yinvert = 1;
2185#endif 2185#endif
2186 } 2186 }
2187 else if (n->ns.type == EVAS_NATIVE_SURFACE_OPENGL) 2187 else if (n->ns.type == EVAS_NATIVE_SURFACE_OPENGL)
@@ -2539,7 +2539,7 @@ eng_image_native_set(void *data, void *image, void *native)
2539 } 2539 }
2540 glXGetFBConfigAttrib(eng_get_ob(re)->disp, configs[j], 2540 glXGetFBConfigAttrib(eng_get_ob(re)->disp, configs[j],
2541 GLX_Y_INVERTED_EXT, &val); 2541 GLX_Y_INVERTED_EXT, &val);
2542 yinvert = val; 2542 if (val == TRUE) yinvert = 1;
2543 glXGetFBConfigAttrib(eng_get_ob(re)->disp, configs[j], 2543 glXGetFBConfigAttrib(eng_get_ob(re)->disp, configs[j],
2544 GLX_BIND_TO_TEXTURE_TARGETS_EXT, 2544 GLX_BIND_TO_TEXTURE_TARGETS_EXT,
2545 &val); 2545 &val);