Skip to content

VAO can crash if wrong mode specified #33

@bcthund

Description

@bcthund

There is no check to make sure that the draw mode specified matches the given data. For example if you create a simple VAO with vertex data and try to draw with glDrawElements instead of glDrawArrays it will cause a seg fault because the index data doesn't exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions