[Piglit] [PATCH] texture_integer-api-teximage: fix / add error checks

Eric Anholt eric at anholt.net
Thu Feb 16 08:27:11 PST 2012


On Wed, 15 Feb 2012 15:40:53 -0700, Brian Paul <brianp at vmware.com> wrote:
> The previous glTexSubImage2D() test could generate either GL_INVALID_ENUM
> or INVALID_OPERATION depending on the order in which glTexSubImage did its
> error checks of this call.
> 
> Replace that call with new calls that can only generate invalid operation
> or invalid enum.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- 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/piglit/attachments/20120216/0491013d/attachment.pgp>


More information about the Piglit mailing list