passing undefined as the first arg to either vertexAttribPointer or enableVertexAttribArray should throw an error

NEW
Unassigned

Status

()

Core
Canvas: WebGL
4 years ago
4 years ago

People

(Reporter: \, Unassigned)

Tracking

31 Branch
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

This leads to very hard to detect bugs, because undefined is being cast to 0, apparently, which is the first vertex attribute location.
Actually, I haven't verified that it's being cast to 0 (the first vertex attribute location).  But either way, why wouldn't we want to notify the developer that they messed up, since this is tough to track down?
You need to log in before you can comment on or make changes to this bug.