diff options
author | Sven Gothel <[email protected]> | 2013-06-27 15:40:50 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-06-27 15:40:50 +0200 |
commit | 5611eeb867e0268ee10248d98a3845eb9b0971d1 (patch) | |
tree | a39a1df9c7afa8f8610af554eb5814bb332f5a02 /src/jake2/render/opengl/JoglDummyDriver.java | |
parent | 15aabe6c691034a4eb6a9334ce51b8d5fcd25768 (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.java | 4 |
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."); } |