[Mesa-dev] [PATCH] mesa: queries of non-existent FBO attachments should return INVALID_OPERATION
Eric Anholt
eric at anholt.net
Tue May 31 11:53:15 PDT 2011
On Tue, 31 May 2011 20:41:54 +0200, Marek Olšák <maraeo at gmail.com> wrote:
> OpenGL 4.0 Compatibility, page 449:
>
> If the value of FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE is NONE, no
> framebuffer is bound to target. In this case querying pname FRAMEBUFFER_-
> ATTACHMENT_OBJECT_NAME will return zero, and all other queries will generate
> an INVALID_OPERATION error.
As a note for reference, ES 2.0.25 page 127 says:
If the value of FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE is NONE, then
querying any other pname will generate INVALID_ENUM.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110531/61adff44/attachment.pgp>
More information about the mesa-dev
mailing list