summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-04-24 16:39:23 +0900
committerHermet Park <hermetpark@gmail.com>2019-04-24 16:45:05 +0900
commit3bd57c2c66af09b40aa60f17c09b07fadc78befb (patch)
tree851d2d85b35885e15627574db489d0ee9fbc332c
parent87d430df467a2f1b0c7eb76a07ed44d24e1278c9 (diff)
evas x: code refactoring.
keep simple code as possible.
-rw-r--r--src/modules/evas/engines/gl_x11/evas_x_main.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/modules/evas/engines/gl_x11/evas_x_main.c b/src/modules/evas/engines/gl_x11/evas_x_main.c
index 3543d9390b..2d621fcda5 100644
--- a/src/modules/evas/engines/gl_x11/evas_x_main.c
+++ b/src/modules/evas/engines/gl_x11/evas_x_main.c
@@ -972,16 +972,8 @@ try_again:
972 config_attrs[n++] = 1; 972 config_attrs[n++] = 1;
973 // FIXME: end n900 breakage 973 // FIXME: end n900 breakage
974# endif 974# endif
975 if (alpha) 975 config_attrs[i++] = EGL_ALPHA_SIZE;
976 { 976 config_attrs[i++] = (alpha ? 1 : 0);
977 config_attrs[i++] = EGL_ALPHA_SIZE;
978 config_attrs[i++] = 1;
979 }
980 else
981 {
982 config_attrs[i++] = EGL_ALPHA_SIZE;
983 config_attrs[i++] = 0;
984 }
985 977
986 if (depth_bits) 978 if (depth_bits)
987 { 979 {