Przeglądaj źródła

fixed "for" variable declaration: use preexisting variable

ncannasse 7 lat temu
rodzic
commit
ba7aa0bad8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      hxsl/GlslOut.hx

+ 1 - 1
hxsl/GlslOut.hx

@@ -405,7 +405,7 @@ class GlslOut {
 			locals.set(v.id, v);
 			switch( it.e ) {
 			case TBinop(OpInterval, e1, e2):
-				add("for(int ");
+				add("for(");
 				add(v.name+"=");
 				addValue(e1,tabs);
 				add(";"+v.name+"<");