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.
Otherwise an
element-array-bufferwon't be bound (or will be left over from before, leading to unpredictable behavior), leading to an errordrawElements: 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.