Skip to content

Throw an error if draw-elements is called without {:tag :element-index} key #19

Description

@sgrove

Otherwise an element-array-buffer won't be bound (or will be left over from before, leading to unpredictable behavior), leading to an error drawElements: no ELEMENT_ARRAY_BUFFER bound. It represents an incomplete spec, so we should throw an error in dev mode to help track down the issue early.

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