Always emit INVALID_OPERATION on null element buffers in drawElements

This commit is contained in:
Anthony Ramine 2018-08-25 18:59:49 +02:00
parent 83e27e4167
commit 7b673de4d6
2 changed files with 9 additions and 11 deletions

View file

@ -1,4 +0,0 @@
[draw-elements-out-of-bounds.html]
[WebGL test #0: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawElements(gl.TRIANGLES, 0, gl.UNSIGNED_BYTE, 0)]
expected: FAIL