浏览代码

clarify driver bug error message ("output" confusing)

trethaller 4 年之前
父节点
当前提交
424e8b2b3b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      h3d/impl/GlDriver.hx

+ 1 - 1
h3d/impl/GlDriver.hx

@@ -343,7 +343,7 @@ class GlDriver extends Driver {
 					Alternate fix is to improve HxSL so he does it on its own.
 				*/
 				if( loc == null )
-					throw "Texture "+rt.spec.instances[t.instance].shader.data.name+"."+t.name+" is missing from shader output";
+					throw "Texture "+rt.spec.instances[t.instance].shader.data.name+"."+t.name+" is missing from generated shader";
 				s.textures.push({ u : loc, t : curT, mode : mode });
 				index++;
 			}