We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6ee1b4 commit 7b242d0Copy full SHA for 7b242d0
1 file changed
sdk/tests/js/tests/compressed-tex-image.js
@@ -30,7 +30,7 @@ if (!gl) {
30
shouldBe("formats.length", "0");
31
32
wtu.shouldGenerateGLError(gl, gl.NO_ERROR, "gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, 4, 4, 0, gl.RGBA, gl.UNSIGNED_BYTE, new Uint8Array(4*4*4));");
33
- wtu.shouldGenerateGLError(gl, gl.INVALID_ENUM,
+ wtu.shouldGenerateGLError(gl, [gl.INVALID_ENUM, gl.INVALID_OPERATION],
34
"gl.compressedTexSubImage2D(gl.TEXTURE_2D, 0, 0, 0, 4, 4, COMPRESSED_RGB_PVRTC_4BPPV1_IMG, new Uint8Array(8));");
35
36
// Check too-many and too-few args.
0 commit comments