Skip to content

Commit

Permalink
Revert "Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz"
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger committed Dec 2, 2015
1 parent 63bf7b5 commit dbc10f0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions webgl/compressedTexSubImage2D.html
Expand Up @@ -15,7 +15,6 @@
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 @@ -27,6 +26,5 @@
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 dbc10f0

Please sign in to comment.