mirror of
https://github.com/xemu-project/xemu-website.git
synced 2024-11-23 03:19:44 +00:00
Fix logo flicker on firefox
This commit is contained in:
parent
f7191276a4
commit
2c30f06152
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user