Skip to content

Instantly share code, notes, and snippets.

@vincentdesmares
Created May 12, 2017 02:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vincentdesmares/acaa024bf739d74cc9fe881f77c0be45 to your computer and use it in GitHub Desktop.
Save vincentdesmares/acaa024bf739d74cc9fe881f77c0be45 to your computer and use it in GitHub Desktop.
function drawScene() {
gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
gl.drawArrays(gl.TRIANGLE_STRIP, 0, 4);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment