ncannasse 8 年之前
父节点
当前提交
6b80c8a1c5
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);