Browse Source

Fixed shader compile error for sample01.
Fixed ref object leak in sample00 and sample03.

Darryl Gough 13 years ago
parent
commit
a6a08f70d6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      gameplay/res/shaders/textured-unlit.vert

+ 2 - 2
gameplay/res/shaders/textured-unlit.vert

@@ -49,9 +49,9 @@ void main()
     v_texCoord1 = a_texCoord1;
     #endif
     #if defined(TEXTURE_REPEAT)
-    v_texCoord *= u_textureRepeat;
+    v_texCoord0 *= u_textureRepeat;
     #endif
     #if defined(TEXTURE_OFFSET)
-    v_texCoord += u_textureOffset;
+    v_texCoord0 += u_textureOffset;
     #endif
 }