2
0
ncannasse 7 жил өмнө
parent
commit
8354315efd
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      hxsl/GlslOut.hx

+ 1 - 1
hxsl/GlslOut.hx

@@ -303,7 +303,7 @@ class GlslOut {
 				add(",");
 				addValue(e2, tabs);
 				add(")");
-			case [OpAssignOp(OpMod) | OpMod, _, _]:
+			case [OpAssignOp(OpMod) | OpMod, _, _] if( e.t != TInt ):
 				if( op.match(OpAssignOp(_)) ) {
 					addValue(e1, tabs);
 					add(" = ");