Fix logo flicker on firefox

This commit is contained in:
Matt Borgerson 2024-06-14 12:56:33 -07:00
parent f7191276a4
commit 2c30f06152

View File

@ -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);
}