move before creation
This commit is contained in:
parent
abb1a97b3b
commit
94bd9a8af2
|
@ -57,14 +57,13 @@ public class WindowCreationTest {
|
|||
|
||||
int x = 100, y = 100;
|
||||
boolean fullscreen = false;
|
||||
System.out.println("Moving to 100, 100");
|
||||
Display.setLocation(x, y);
|
||||
|
||||
// Create the actual window
|
||||
try {
|
||||
setDisplayMode();
|
||||
Display.create();
|
||||
|
||||
System.out.println("Moving to 100, 100");
|
||||
Display.setLocation(x, y);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
System.out.println("Unable to create window!, exiting...");
|
||||
|
|
Loading…
Reference in New Issue