diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2011-02-03 17:56:44 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2011-02-04 12:10:05 -0800 |
commit | 5c3f1cdbbeb4d787bad7729ccd3f10aa78d113ac (patch) | |
tree | 9d0fc2a18025b1f93270c8d56b4c118a1aaa07a7 /src/mesa/main/formats.c | |
parent | ce9171f9d8e0e2c2422fdddb198f8d548381b7ea (diff) |
mesa: Fix error checks in GetVertexAttrib functions
Querying index zero is not an error in OpenGL ES 2.0.
Querying an index larger than the value returned by
GL_MAX_VERTEX_ATTRIBS is an error in all APIs.
Fixes bugzilla #32375.
Diffstat (limited to 'src/mesa/main/formats.c')
0 files changed, 0 insertions, 0 deletions