Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Refer to this.screen, which is a bit cleaner

  • Loading branch information...
commit 0bbfea41ef02d7566236eea5ebbb8fa985901e31 1 parent 7e2443e
Thomas ten Cate authored November 13, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  gdx/src/com/badlogic/gdx/Game.java
4  gdx/src/com/badlogic/gdx/Game.java
@@ -59,8 +59,8 @@ public void setScreen (Screen screen) {
59 59
 		if (this.screen != null) this.screen.hide();
60 60
 		this.screen = screen;
61 61
 		if (this.screen != null) {
62  
-			screen.show();
63  
-			screen.resize(Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
  62
+			this.screen.show();
  63
+			this.screen.resize(Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
64 64
 		}
65 65
 	}
66 66
 

0 notes on commit 0bbfea4

Please sign in to comment.
Something went wrong with that request. Please try again.