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> <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>

View File

@ -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);