Better pause scrolling

This commit is contained in:
ajuvercr 2019-09-21 11:31:28 +02:00
parent 24b3fa295d
commit 6e95732fb1

View file

@ -175,6 +175,9 @@ class GameInstance {
if (!this.playing) {
this.last_time = time;
this.shader.uniform(GL, "u_viewbox", new Uniform4f(this.resizer.get_viewbox()));
this.renderer.render(GL);
return;
}
if (time > this.last_time + ms_per_frame) {