2
0
Nicolas Cannasse 8 жил өмнө
parent
commit
05ef3be72b
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      hxd/FloatBuffer.hx

+ 1 - 1
hxd/FloatBuffer.hx

@@ -11,7 +11,7 @@ private abstract Float32Expand({ pos : Int, array : js.html.Float32Array }) {
 		this = { pos : 0, array : new js.html.Float32Array(new js.html.ArrayBuffer(length)) };
 	}
 
-	inline function get_length() return this.array.length;
+	inline function get_length() return this.pos;
 	inline function set_length(v:Int) {
 		if( length != v ) {
 			var newArray = new js.html.Float32Array(v);