WebGL - Resize canvas

In this episode, I show how to use JavaScript event listeners for resizing the window in order to resize the gl canvas accordingly.
Resources: https://github.com/davidwparker/programmingtil-webgl/tree/master/0010-resize-canvas
© programmingtil.com