Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sgrove opened this issue Jun 5, 2015 · 0 comments

Comments

@sgrove
Copy link
Contributor

sgrove commented Jun 5, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant