fixed display mode bug
This commit is contained in:
parent
fa9cd75463
commit
d8d223964c
|
@ -50,9 +50,6 @@ public class ControllerCreationTest {
|
||||||
/** position of quad to draw */
|
/** position of quad to draw */
|
||||||
private Vector2f position = new Vector2f(320.0f, 240.0f);
|
private Vector2f position = new Vector2f(320.0f, 240.0f);
|
||||||
|
|
||||||
/** Display mode selected */
|
|
||||||
private DisplayMode displayMode;
|
|
||||||
|
|
||||||
/** Creates a new instance of MouseTest */
|
/** Creates a new instance of MouseTest */
|
||||||
public ControllerCreationTest() {
|
public ControllerCreationTest() {
|
||||||
}
|
}
|
||||||
|
@ -122,7 +119,6 @@ public class ControllerCreationTest {
|
||||||
try {
|
try {
|
||||||
Display.destroy();
|
Display.destroy();
|
||||||
initialize(true);
|
initialize(true);
|
||||||
Display.setDisplayMode(displayMode);
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue