aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/evas
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 /src/modules/evas
parentRevert "Revert "evas: fix borked rotation support in GL engine."" (diff)
downloadefl-16819d37d24bdfba2b6b9842d4198c1764382231.tar.gz
evas: fix compilation error
This is introduced in 5c02935a866a5c14
Diffstat (limited to 'src/modules/evas')
-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)
#else
glXGetFBConfigAttrib(eng_get_ob(re)->disp, n->config,
GLX_Y_INVERTED_EXT, &val);
- if (val == TRUE) yinvert = 1;
+ if (val == 1) yinvert = 1;
#endif
}
else if (n->ns.type == EVAS_NATIVE_SURFACE_OPENGL)
@@ -2539,7 +2539,7 @@ eng_image_native_set(void *data, void *image, void *native)
}
glXGetFBConfigAttrib(eng_get_ob(re)->disp, configs[j],
GLX_Y_INVERTED_EXT, &val);
- if (val == TRUE) yinvert = 1;
+ if (val == 1) yinvert = 1;
glXGetFBConfigAttrib(eng_get_ob(re)->disp, configs[j],
GLX_BIND_TO_TEXTURE_TARGETS_EXT,
&val);