[Mesa-dev] [PATCH 2/2] mesa: fix error handling for glMapBufferRange

Eric Anholt eric at anholt.net
Mon Sep 19 11:54:44 PDT 2011


On Mon, 19 Sep 2011 18:25:55 +0800, Yuanhan Liu <yuanhan.liu at linux.intel.com> wrote:
> Accroding the man page, GL_INVALID_VALUE would generated if access has any
> bits set other than those valid defined bits.
>
> Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>

It would be nice to see simple piglit tests created for these sorts of
API validation.
-------------- 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/20110919/70fa6de1/attachment.pgp>


More information about the mesa-dev mailing list