[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Public WebGL] Float32Array constructor on 0 length



Hi,

The typed arrays spec doesn't AFAICS specify if 0 length is allowed?

Should this code:

  var a = new Float32Array(0);

succeed without any warning? It currently generates an 'invalid argument' warning in Firefox.

Cheers,
Benoit
-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email: