2
0
ncannasse 7 жил өмнө
parent
commit
23428ca9ca
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      hxd/IndexBuffer.hx

+ 1 - 1
hxd/IndexBuffer.hx

@@ -25,7 +25,7 @@ abstract IndexBuffer(InnerData) {
 
 	public inline function new(length = 0) {
 		#if js
-		this = #if (haxe_ver >= 4) js.Syntax.new_ #else untyped __new__ #end(Array, length);
+		this = #if (haxe_ver >= 4) js.Syntax.construct #else untyped __new__ #end(Array, length);
 		#elseif flash
 		this = new InnerData(length);
 		#else