[Public WebGL] Requirements for bufferData don't make sense given the IDL
Gregg Tavares (勤)
[email protected]
Mon Apr 2 11:01:11 PDT 2012
On Mon, Apr 2, 2012 at 7:22 AM, Boris Zbarsky <[email protected]> wrote:
>
> In particular, it says:
>
> If the passed data is null then an INVALID_VALUE error is generated.
>
> But the IDL declarations for this method don't allow |data| to be null; an
> attempt to pass null will throw during the WebIDL overload resolution
> algorithm. Was this requirement meant to be on bufferSubData (which does
> allow null to be passed)? Or is bufferData supposed to have an overload
> that allows null?
>
bufferData should (and does) take null
bufferSubData does not take null
>
> -Boris
>
> ------------------------------**-----------------------------
> You are currently subscribed to [email protected]
> To unsubscribe, send an email to [email protected] with
> the following command in the body of your email:
> unsubscribe public_webgl
> ------------------------------**-----------------------------
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://khronos.org/pipermail/public_webgl_khronos.org/attachments/20120402/3f1326b6/attachment.html>
More information about the public_webgl
mailing list