ncannasse 8 năm trước cách đây
mục cha
commit
6b80c8a1c5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      hxsl/HlslOut.hx

+ 1 - 1
hxsl/HlslOut.hx

@@ -348,7 +348,7 @@ class HlslOut {
 			add("discard");
 		case TReturn(e):
 			if( e == null )
-				add("return");
+				add("return _out");
 			else {
 				add("return ");
 				addValue(e, tabs);