blob: 005841de8ae133b3879ae6b71fefd5e66587bdf1 (
plain)
1
2
3
4
5
6
7
|
<!doctype html>
<canvas></canvas>
<script>
var canvas = document.body.firstChild,
gl = canvas.getContext("experimental-webgl");
gl.texImage2D(0, 0, 0, 0, 0, { width: 10, height: 10, data: 7 });
</script>
|