aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/opengl/JoglDummyDriver.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-06-27 15:40:50 +0200
committerSven Gothel <[email protected]>2013-06-27 15:40:50 +0200
commit5611eeb867e0268ee10248d98a3845eb9b0971d1 (patch)
treea39a1df9c7afa8f8610af554eb5814bb332f5a02 /src/jake2/render/opengl/JoglDummyDriver.java
parent15aabe6c691034a4eb6a9334ce51b8d5fcd25768 (diff)
Adapt to JOGL/NEWT Changed up to v2.0.2-c12 ..
- NEWT ScreenMode -> MonitorMode - NEWT Window: Don't issue Game.Quit() if already in shutdown (could be screen mode change) - NEWT KeyEvents: No keyTyped, adapt to new KeyCodes.
Diffstat (limited to 'src/jake2/render/opengl/JoglDummyDriver.java')
-rw-r--r--src/jake2/render/opengl/JoglDummyDriver.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/render/opengl/JoglDummyDriver.java b/src/jake2/render/opengl/JoglDummyDriver.java
index 3316f2a..73620b2 100644
--- a/src/jake2/render/opengl/JoglDummyDriver.java
+++ b/src/jake2/render/opengl/JoglDummyDriver.java
@@ -33,7 +33,7 @@ import jake2.render.Base;
import javax.media.nativewindow.util.Dimension;
import javax.media.opengl.*;
-import com.jogamp.newt.ScreenMode;
+import com.jogamp.newt.MonitorMode;
/**
* JoglCommon
@@ -51,7 +51,7 @@ public abstract class JoglDummyDriver extends DummyGL implements GLDriver {
public abstract String getName();
- public List<ScreenMode> getModeList() {
+ public List<MonitorMode> getModeList() {
if(null == newtWin) {
throw new RuntimeException("NEWTWin not yet initialized.");
}