Просмотр исходного кода

ignore output decl for vertex shader

ncannasse 8 лет назад
Родитель
Сommit
9be002fab5
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      hxsl/GlslOut.hx

+ 1 - 0
hxsl/GlslOut.hx

@@ -505,6 +505,7 @@ class GlslOut {
 					outIndexes.set(v.id, outIndex++);
 					continue;
 				}
+				if( isVertex ) continue;
 				add("out ");
 			case Function:
 				continue;