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

Re: [Public WebGL] DOMException



Kenneth Russell wrote:
This implies a guarantee that if a call to WebGL function fails because of
an underlying state issue (for example, if you try to use a program which
hasn't been linked) then any subsequent WebGL calls will always return
without updating the error state? Is this a fair assumption?

No. There are conceptually multiple bits (one per type of error) in the error state, and they are set independently. See the second paragraph of http://www.khronos.org/opengles/sdk/docs/man/glGetError.xml ..

Ah, yes, I'd overlooked that. Thanks.

Alan

-----------------------------------------------------------
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: