mesa: Update the BGRA vertex array error handling
authorFredrik Höglund <fredrik@kde.org>
Fri, 12 Apr 2013 15:36:06 +0000 (17:36 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 16 Aug 2013 04:38:13 +0000 (21:38 -0700)
commit0e7a61a29f883c63a5439ac16edffffdeba3aaf4
tree391352180b4228577da5ee53c231769e0e5d370a
parent90129da82c91b731c7c65e8e3adbde58d8c62840
mesa: Update the BGRA vertex array error handling

The error code was changed from INVALID_VALUE to INVALID_OPERATION
in OpenGL 3.3. We should also generate an error when size is BGRA
and normalized is FALSE.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/varray.c