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

Re: [Public WebGL] bindFrameBuffer doesn't seem to define behavior when target is not a FRAMEBUFFER

On 3/31/12 10:39 AM, Cedric Vivier wrote:
On Sat, Mar 31, 2012 at 14:54, Boris Zbarsky<bzbarsky@mit.edu> wrote:
What should happen when target is not a FRAMEBUFFER?  An exception?  (If so
which one?) Silently doing nothing?

This needs to be defined...

It is defined in the referenced OpenGL ES 2.0 specification ยง4.4.3 : "INVALID_ENUM is generated if target is not FRAMEBUFFER"

We do not duplicate all of ES specification for each and every
function, hence the references.

I think the confusion arose because the spec does duplicate a normative authoring requirement but doesn't duplicate the behavior that needs to happen when the requirement is not met. It would actually be less confusing to not duplicate only part of the requirements that way....


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