Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Refer to this.screen, which is a bit cleaner

  • Loading branch information...
commit 0bbfea41ef02d7566236eea5ebbb8fa985901e31 1 parent 7e2443e
@ttencate authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 gdx/src/com/badlogic/gdx/Game.java
View
4 gdx/src/com/badlogic/gdx/Game.java
@@ -59,8 +59,8 @@ public void setScreen (Screen screen) {
if (this.screen != null) this.screen.hide();
this.screen = screen;
if (this.screen != null) {
- screen.show();
- screen.resize(Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
+ this.screen.show();
+ this.screen.resize(Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.