Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
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

Closed

Description

@ansis

glDisableVertexAttribArray is never called.

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.

@kkaefer

Activity

  1. changed the title [-]vertex attrib arrays aren't disabled when VAOs are't used[/-] [+]vertex attrib arrays aren't disabled when VAOs aren't used[/+] on Apr 12, 2016
  2. kkaefer commented on May 10, 2016

    @kkaefer
    Member

    Last attempt to implement this is at #2038

  3. added
    Core
    on Mar 10, 2017
  4. self-assigned this
    on Jul 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Core

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions