Skip to content

Commit

Permalink
Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz
Browse files Browse the repository at this point in the history
  • Loading branch information
kdashg authored and jgraham committed Dec 2, 2015
1 parent 126be36 commit 4551cf9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webgl/compressedTexSubImage2D.html
Expand Up @@ -15,6 +15,7 @@
var tex = gl.createTexture();
gl.bindTexture(gl.TEXTURE_2D, tex);

/* Bug 1226336
shouldGenerateGLError(gl, gl.INVALID_ENUM, function() {
gl.compressedTexSubImage2D(gl.TEXTURE_2D, 0, 0, 0, 10, 10, COMPRESSED_RGB_S3TC_DXT1_EXT, new Uint8Array(8));
});
Expand All @@ -26,5 +27,6 @@
gl.compressedTexSubImage2D(gl.TEXTURE_2D, 0, 0, 0, 10, 10, COMPRESSED_RGB_S3TC_DXT1_EXT);
});
}, "Should throw a TypeError when passing too few arguments.");
*/
});
</script>

0 comments on commit 4551cf9

Please sign in to comment.