diff options
author | Matt Turner <[email protected]> | 2012-12-19 20:20:34 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2012-12-21 20:03:30 -0800 |
commit | a585b8f3a6681d1138ed1a33ed4c3195a53c2a73 (patch) | |
tree | dab74830d4dc8ae2943638debe1137c4e28a6ca0 /src/gallium/drivers | |
parent | fd93d55141f11069fb76a9b377ad1af88d0ecdd3 (diff) |
Make IsVertexArray() return false before BindVertexArray()
Rename existing _Used flag to EverBound.
The GL 4.3 and ES 3.0 specs say
These names are marked as used, for the purposes of GenVertexArrays
only, but they do not acquire array state until they are first bound.
This also affects Apple VAOs, which is fine since the
APPLE_vertex_array_object spec says
A vertex array object is created by binding an unused name. This
binding is accomplished by calling BindVertexArrayAPPLE with id set
to the name of the new vertex array object.
Fixes arb_vertex_array_object_isvertexarray.
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
0 files changed, 0 insertions, 0 deletions