Explorar el Código

fixed mrt in gles3

ncannasse hace 7 años
padre
commit
fc20d55145
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      hxsl/GlslOut.hx

+ 2 - 0
hxsl/GlslOut.hx

@@ -556,6 +556,8 @@ class GlslOut {
 					continue;
 				}
 				if( isVertex ) continue;
+				if( isES )
+					add('layout(location=${outIndex++}) ');
 				add("out ");
 			case Function:
 				continue;