From c1df31569e5f3e30a3b35c960d88c3252880af81 Mon Sep 17 00:00:00 2001
From: Paul Wisbey
Date: Mon, 13 Feb 2017 11:02:31 +0000
Subject: [PATCH] Removed unused variable from 9-patch shader
Change-Id: I26eee3590a4eecb1d61d79b941546317e7124803
---
dali-toolkit/internal/visuals/npatch/npatch-visual.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/dali-toolkit/internal/visuals/npatch/npatch-visual.cpp b/dali-toolkit/internal/visuals/npatch/npatch-visual.cpp
index 1df32a6..6920c7f 100644
--- a/dali-toolkit/internal/visuals/npatch/npatch-visual.cpp
+++ b/dali-toolkit/internal/visuals/npatch/npatch-visual.cpp
@@ -111,7 +111,6 @@ const char* VERTEX_SHADER_3X3 = DALI_COMPOSE_SHADER(
vec2 visualSize = mix(uSize.xy*size, size, offsetSizeMode.zw );\n
vec2 visualOffset = mix( offset, offset/uSize.xy, offsetSizeMode.xy);\n
- mediump vec2 scale = vec2( length( uModelMatrix[ 0 ].xyz ), length( uModelMatrix[ 1 ].xyz ) );\n
mediump vec2 size = visualSize.xy;\n
\n
mediump vec2 fixedFactor = vec2( uFixed[ int( ( aPosition.x + 1.0 ) * 0.5 ) ].x, uFixed[ int( ( aPosition.y + 1.0 ) * 0.5 ) ].y );\n
--
2.7.4