summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2015-10-13 09:01:26 +0530
committerAmitesh Singh <amitesh.sh@samsung.com>2015-10-13 09:01:47 +0530
commit16819d37d24bdfba2b6b9842d4198c1764382231 (patch)
treec279caef0a4cf4e64bf8165ba5c78e9a742f843c
parentf51168f4ec7a1bd3072428c7a271ad7c6715fde5 (diff)
evas: fix compilation error
This is introduced in 5c02935a866a5c14
-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 883b2db2c1..3d4dd12c00 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 if (val == TRUE) yinvert = 1; 2184 if (val == 1) 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 if (val == TRUE) yinvert = 1; 2542 if (val == 1) 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);