webgl: Fix validation of drawElements()'s type argument.

Fixes crash due to unexpected GL errors in gl-drawelements.html.
This commit is contained in:
Eric Anholt 2016-08-21 23:34:57 -07:00
parent 9b4713f536
commit 15fa1a5a7d
2 changed files with 5 additions and 6 deletions

View file

@ -1,3 +0,0 @@
[gl-drawelements.html]
type: testharness
expected: CRASH