Skip to content

Commit 18255a1

Browse files
committed
Width and height not necessary
1 parent f5e35ab commit 18255a1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

audio-spectrum/src/com/gtomee/audiospectrum/AudioSpectrum.java

-5
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ public class AudioSpectrum extends Game {
1616
public static final int WIDTH = 800;
1717
public static final int HEIGHT = 480;
1818

19-
private int width = WIDTH;
20-
private int height = HEIGHT;
21-
2219
String FILE = "data/justice-new-lands.mp3";
2320
Mpg123Decoder decoder;
2421
AudioDevice device;
@@ -43,8 +40,6 @@ public class AudioSpectrum extends Game {
4340
public void create() {
4441
// create the camera
4542
camera = new OrthographicCamera();
46-
width = Gdx.graphics.getWidth();
47-
height = Gdx.graphics.getHeight();
4843

4944
camera.setToOrtho(false, WIDTH, HEIGHT);
5045
// load texture

0 commit comments

Comments
 (0)