You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
vertex attrib arrays aren't disabled when VAOs aren't used #4681
When the vertex array object extension is available (it often is) then attributes never need to be disabled. Attribute enabled/disabled status scoped to VAOs so there is never a need to call glDisableVertexAttribArray.
When VAOs are not available, attribute enabled/disabled status is scoped globally. This means that attributes not used by the current shader might be enabled when drawing.
If VAOs aren't present, all attribute indexes not used by the the current shader need to be disabled.
Activity
[-]vertex attrib arrays aren't disabled when VAOs are't used[/-][+]vertex attrib arrays aren't disabled when VAOs aren't used[/+]kkaefer commentedon May 10, 2016
Last attempt to implement this is at #2038