blob: 7f79905161f0f22136151eb68facd40cbe167a92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<!DOCTYPE html>
<html>
<script>
window.onload=function(){
var gl = document.createElementNS("http://www.w3.org/1999/xhtml", "canvas").getContext("webgl");
var shader = gl.createShader(gl.FRAGMENT_SHADER);
gl.shaderSource(shader, 'void main(){d[vec4[]()}');
gl.compileShader(shader);
};
</script>
</html>
|