Changes between Version 2 and Version 3 of webgl


Ignore:
Timestamp:
Oct 4, 2013, 4:15:09 PM (7 years ago)
Author:
Leon Kos
Comment:

cont

Legend:

Unmodified
Added
Removed
Modified
  • webgl

    v2 v3  
    3737 
    3838  if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
    39       alert(“Error compiling shader” + gl.getShaderInfoLog(shader));
     39      alert("Error compiling shader" + gl.getShaderInfoLog(shader));
    4040      gl.deleteShader(shader);   
    4141      return null;
     
    110110}
    111111</script>
    112  
    113 </head>
    114  
     112
    115113<canvas id="myGLCanvas" width="500" height="500"></canvas>
    116114<form><input type="button" value="Draw" onclick="startup()"/></form>