Bugfixes
This commit is contained in:
parent
eacaff6288
commit
bda1752c53
2
pom.xml
2
pom.xml
@ -73,7 +73,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jogamp.jogl</groupId>
|
<groupId>org.jogamp.jogl</groupId>
|
||||||
<artifactId>jogl-all-main</artifactId>
|
<artifactId>jogl-all-main</artifactId>
|
||||||
<version>2.4</version>
|
<version>2.3.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jogamp.gluegen</groupId>
|
<groupId>org.jogamp.gluegen</groupId>
|
||||||
|
@ -43,7 +43,7 @@ public class Engine {
|
|||||||
public static void start(Screen screen, HardwareDisplay disp, HardwareTouchDevice touchdevice, HUD hud,
|
public static void start(Screen screen, HardwareDisplay disp, HardwareTouchDevice touchdevice, HUD hud,
|
||||||
StartupArguments args) throws InterruptedException, IOException {
|
StartupArguments args) throws InterruptedException, IOException {
|
||||||
if (running) {
|
if (running) {
|
||||||
throw new IllegalAccessError("Already running!");
|
throw new RuntimeException("Already running!");
|
||||||
} else {
|
} else {
|
||||||
running = true;
|
running = true;
|
||||||
INSTANCE.startInstance(screen, disp, touchdevice, hud, args);
|
INSTANCE.startInstance(screen, disp, touchdevice, hud, args);
|
||||||
|
Loading…
Reference in New Issue
Block a user