webgl-rotating-teapot-example

Index Commits Files Refs README
commit 0cfd96f9022e645b69054e97d92826e46373f6a4
parent 8d60d3d7038ffd863d89c88ecff0aa65e6b55bda
Author: Martin Kloeckner <mjkloeckner@gmail.com>
Date:   Sun, 10 Aug 2025 18:51:03 -0300

no need to rebind the buffers on resize

Diffstat:
Mmain.js | 1-
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/main.js b/main.js
@@ -171,7 +171,6 @@ function onResize() {
     canvas.style.height = height + 'px';
 
     gl.viewport(0, 0, canvas.width, canvas.height);
-    drawScene();
 }
 
 function parseCSSColor(cssColor) {