Implement a missing INVALID_OPERATION check in DrawArrays

This commit is contained in:
Anthony Ramine 2018-03-21 09:18:47 +01:00
parent 2a9c2bc8fd
commit 3229c62282
3 changed files with 24 additions and 23 deletions

View file

@ -1,5 +0,0 @@
[drawArraysOutOfBounds.html]
type: testharness
[WebGL test #0: testDrawArraysEmpty]
expected: FAIL

View file

@ -1,3 +1,5 @@
[draw-arrays-out-of-bounds.html]
type: testharness
expected: TIMEOUT
[WebGL test #12: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.drawArrays(gl.TRIANGLES, 3, 2)]
expected: FAIL