Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added missing semicolons as suggested by gorloveslinux.

  • Loading branch information...
commit 29d806b4bd2f7a71de99ecc41898c2e746443a6d 1 parent 35a02ac
unknown authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lesson02/index.html
View
4 lesson02/index.html
@@ -165,7 +165,7 @@
squareVertexColorBuffer = gl.createBuffer();
gl.bindBuffer(gl.ARRAY_BUFFER, squareVertexColorBuffer);
- colors = []
+ colors = [];
for (var i=0; i < 4; i++) {
colors = colors.concat([0.5, 0.5, 1.0, 1.0]);
}
@@ -210,7 +210,7 @@
function webGLStart() {
var canvas = document.getElementById("lesson02-canvas");
initGL(canvas);
- initShaders()
+ initShaders();
initBuffers();
gl.clearColor(0.0, 0.0, 0.0, 1.0);
Please sign in to comment.
Something went wrong with that request. Please try again.