Better pause scrolling
This commit is contained in:
parent
24b3fa295d
commit
6e95732fb1
1 changed files with 3 additions and 0 deletions
|
@ -175,6 +175,9 @@ class GameInstance {
|
||||||
|
|
||||||
if (!this.playing) {
|
if (!this.playing) {
|
||||||
this.last_time = time;
|
this.last_time = time;
|
||||||
|
|
||||||
|
this.shader.uniform(GL, "u_viewbox", new Uniform4f(this.resizer.get_viewbox()));
|
||||||
|
this.renderer.render(GL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (time > this.last_time + ms_per_frame) {
|
if (time > this.last_time + ms_per_frame) {
|
||||||
|
|
Loading…
Reference in a new issue