GL.bindBuffer "Bad ByteArray" problem

Latest version of Lime/OpenFl are throwing “Bad ByteArray” error if empty array is passed:

var indices:Array = [];
var arrayBuffer = new Int16Array(indices);
GL.bufferData(GL.ELEMENT_ARRAY_BUFFER, arrayBuffer, GL.STATIC_DRAW);

If indices is not empty it works. But this was not the case with previous versions of Lime/OpenFl. Also, it works fine on
web target.

Thanks for reporting! This should be fixed now :slight_smile:

Great! When can we expect new version on haxelib ?

Was released this morning with the fix :wink: