aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/evas/engines/gl_common/shader/fragment.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/gl_common/shader/fragment.glsl')
-rw-r--r--src/modules/evas/engines/gl_common/shader/fragment.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/evas/engines/gl_common/shader/fragment.glsl b/src/modules/evas/engines/gl_common/shader/fragment.glsl
index 3d5b1a4b3c..6d524bdf44 100644
--- a/src/modules/evas/engines/gl_common/shader/fragment.glsl
+++ b/src/modules/evas/engines/gl_common/shader/fragment.glsl
@@ -66,13 +66,13 @@ varying vec2 masktex_s[4];
# define SWZ aaaa
#else
# ifndef SHD_BGRA
-# ifdef BIGENDIAN
+# if defined(SHD_IMG) && defined(BIGENDIAN)
# define SWZ gbar
# else
# define SWZ bgra
#endif
# else
-# ifdef BIGENDIAN
+# if defined(SHD_IMG) && defined(BIGENDIAN)
# define SWZ grab
# else
# define SWZ rgba