ncannasse hace 8 años
padre
commit
6b80c8a1c5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);