[whatwg] Endianness of typed arrays

On 3/27/12 8:42 PM, Robert O'Callahan wrote:
> On Wed, Mar 28, 2012 at 3:43 PM, Kenneth Russell<kbr at google.com>  wrote:
>
>> >  Production browsers already implement typed arrays with their current
>> >  semantics. It is not possible to change them and have WebGL continue
>> >  to function. I will go so far as to say that the semantics will not be
>> >  changed.
>> >
> What's the problem? A big-endian machine could interpret WebGL typed arrays
> as little-endian.

Mozilla is free to do that.

It does seem like a bigger "warning" in the spec may benefit developers.
A warning and an example of how to check for big-endian results.

-Charles

Received on Tuesday, 27 March 2012 21:33:07 UTC