jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4a538ec2461a42507a1917cd63006507e52f5889

commit 4a538ec2461a42507a1917cd63006507e52f5889
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Wed Dec 16 15:55:10 2015 +0900

    Evas GL: Fix shaders for bigendian
    
    Fixes T2918
---
 src/modules/evas/engines/gl_common/shader/evas_gl_shaders.x | 4 ++--
 src/modules/evas/engines/gl_common/shader/fragment.glsl     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/modules/evas/engines/gl_common/shader/evas_gl_shaders.x 
b/src/modules/evas/engines/gl_common/shader/evas_gl_shaders.x
index 19120e2..a0132aa 100644
--- a/src/modules/evas/engines/gl_common/shader/evas_gl_shaders.x
+++ b/src/modules/evas/engines/gl_common/shader/evas_gl_shaders.x
@@ -67,13 +67,13 @@ static const char fragment_glsl[] =
    "# define SWZ aaaa\n"
    "#else\n"
    "# ifndef SHD_BGRA\n"
-   "#  if defined(SHD_IMG) && defined(BIGENDIAN)\n"
+   "#  if defined(SHD_IMG) && defined(SHD_BIGENDIAN)\n"
    "#   define SWZ gbar\n"
    "#  else\n"
    "#   define SWZ bgra\n"
    "#endif\n"
    "# else\n"
-   "#  if defined(SHD_IMG) && defined(BIGENDIAN)\n"
+   "#  if defined(SHD_IMG) && defined(SHD_BIGENDIAN)\n"
    "#   define SWZ grab\n"
    "#  else\n"
    "#   define SWZ rgba\n"
diff --git a/src/modules/evas/engines/gl_common/shader/fragment.glsl 
b/src/modules/evas/engines/gl_common/shader/fragment.glsl
index 3dce873..baa22e3 100644
--- a/src/modules/evas/engines/gl_common/shader/fragment.glsl
+++ b/src/modules/evas/engines/gl_common/shader/fragment.glsl
@@ -60,13 +60,13 @@ varying vec2 masktex_s[4];
 # define SWZ aaaa
 #else
 # ifndef SHD_BGRA
-#  if defined(SHD_IMG) && defined(BIGENDIAN)
+#  if defined(SHD_IMG) && defined(SHD_BIGENDIAN)
 #   define SWZ gbar
 #  else
 #   define SWZ bgra
 #endif
 # else
-#  if defined(SHD_IMG) && defined(BIGENDIAN)
+#  if defined(SHD_IMG) && defined(SHD_BIGENDIAN)
 #   define SWZ grab
 #  else
 #   define SWZ rgba

-- 


Reply via email to