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.

glDisableVertexAttribArray returns GL_INVALID_OPERATION #9406

Closed

Description

@jfirebaugh

If you have two layers that use the same layout vertex buffer, but one has a data-driven paint property and the other doesn't, then gl-native will try to call glDisableVertexAttribArray(-1).

See mapbox/mapbox-gl-js#4926 for an example.

This was triggered by #9373.

Activity

  1. self-assigned this
    on Jun 30, 2017
  2. changed the title [-]Placeholder[/-] [+]`glDisableVertexAttribArray` returns `GL_INVALID_OPERATION`[/+] on Jun 30, 2017
  3. jfirebaugh commented on Jun 30, 2017

    @jfirebaugh
    ContributorAuthor

    Going to fix this as part of the workaround for #8658.

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

Metadata

Metadata

Assignees

Labels

Corebugrendering

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions