From 2c30f06152199c72ce51c1612f8302211283e257 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Fri, 14 Jun 2024 12:56:33 -0700 Subject: [PATCH] Fix logo flicker on firefox --- resources/gl_logo.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/gl_logo.js b/resources/gl_logo.js index ec964e4c..f204c156 100644 --- a/resources/gl_logo.js +++ b/resources/gl_logo.js @@ -313,6 +313,8 @@ function setupWebGL (evt) { time_loc = gl.getUniformLocation(program, "iTime"); gl.useProgram(program); gl.viewport(0, 0, gl.canvas.width, gl.canvas.height); + gl.finish(); + requestAnimationFrame(render); }