Browse Source

Implicitly declare VaryingTexCoord and VaryingColor when void effect() is used.

--HG--
branch : minor
Alex Szpakowski 8 years ago
parent
commit
9ba7234f14
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/modules/graphics/wrap_Graphics.lua

+ 3 - 0
src/modules/graphics/wrap_Graphics.lua

@@ -263,6 +263,9 @@ void main() {
 }]],
 }]],
 
 
 	MAIN_CUSTOM = [[
 	MAIN_CUSTOM = [[
+varying vec4 VaryingColor;
+varying vec4 VaryingTexCoord;
+
 void effect();
 void effect();
 
 
 void main() {
 void main() {