blob: 4a61f70b60f8191b32476df4d7a94fc363ad52e5 [file] [log] [blame]
<div id="result">PASS if a "webgl2" context can be obtained.</div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
if (!(document.createElement("canvas").getContext("webgl2") instanceof WebGL2RenderingContext))
document.getElementById("result").innerHTML = "FAIL";
</script>