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

Re: [Public WebGL] How to set a canvas backing store to display units?



On Wed, Jun 13, 2012 at 8:08 PM, Gregg Tavares (çç) <gman@google.com> wrote:
>
>
> This is a bug in the spec. Both the spec here and the example were written
> before drawingBufferWidth and drawingBufferHeight were added to the spec to
> deal with the MAX_TEXTURE_SIZE limit. We forgot to fix the spec to say that
> gl.viewport is set to gl.viewport(0, 0, gl.drawingBufferWidth,
> gl.drawingBufferHeight);

Thanks for pointing this out. You're correct, this was a longstanding
oversight; now fixed at
http://www.khronos.org/registry/webgl/specs/latest/ (shift-reload if
stale).

-Ken

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