Paul Berry <stereotype...@gmail.com> writes:

> Previously, Mesa code assumed that glReadBuffer(GL_NONE) was only
> valid for user-created framebuffer objects.  However, the spec is
> quite clear that is should also be valid for the default framebuffer.
> From section 18.2.1 ("Obtaining Pixels from the Framebuffer") of the
> GL 4.3 spec:
>
>     "When READ_FRAMEBUFFER_BINDING is zero, i.e. the default
>     framebuffer, src must be one of the values listed in table 17.4,
>     including NONE."
>
> Similar language exists in the GLES 3.0 spec, and in desktop GL all
> the way back to ARB_framebuffer_object.

Even farther, back to EXT_framebuffer_object, too!

Reviewed-by: Eric Anholt <e...@anholt.net>

Attachment: pgpZnOCqvC6JK.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to