This commit is contained in:
Andrea Cavalli 2018-09-02 14:21:08 +02:00
parent eacaff6288
commit bda1752c53
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@
<dependency>
<groupId>org.jogamp.jogl</groupId>
<artifactId>jogl-all-main</artifactId>
<version>2.4</version>
<version>2.3.2</version>
</dependency>
<dependency>
<groupId>org.jogamp.gluegen</groupId>

View File

@ -43,7 +43,7 @@ public class Engine {
public static void start(Screen screen, HardwareDisplay disp, HardwareTouchDevice touchdevice, HUD hud,
StartupArguments args) throws InterruptedException, IOException {
if (running) {
throw new IllegalAccessError("Already running!");
throw new RuntimeException("Already running!");
} else {
running = true;
INSTANCE.startInstance(screen, disp, touchdevice, hud, args);