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

Re: [Public WebGL] Error codes in drawArrays / drawElements



----- "Gregg Tavares" <gman@google.com> wrote:

----- I wrote:
>> I see. I guess that what I don't understand is why the 2 last ones
>> return INVALID_OPERATION and not INVALID_VALUE. They could return
>> either, since they are both using a negative value, and an
>> out-of-bounds value. So is it an official rule, that in this case we
>> return INVALID_OPERATION?
> 
> 
> No, I think they should probably be INVALID_VALUE

I agree! That makes a lot of sense to me. I actually think that could become a general rule that INVALID_VALUE has priority over INVALID_OPERATION, but let me start a new thread for that.

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: