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/JoglES1Driver.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/JoglES1Driver.java')
-rw-r--r-- | src/jake2/render/opengl/JoglES1Driver.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/render/opengl/JoglES1Driver.java b/src/jake2/render/opengl/JoglES1Driver.java index d9001ae..f9a29f8 100644 --- a/src/jake2/render/opengl/JoglES1Driver.java +++ b/src/jake2/render/opengl/JoglES1Driver.java @@ -35,7 +35,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 @@ -61,7 +61,7 @@ public abstract class JoglES1Driver extends JoglGL2ES1 implements GLDriver { public abstract String getName(); - public List<ScreenMode> getModeList() { + public List<MonitorMode> getModeList() { if(null == newtWin) { throw new RuntimeException("NEWTWin not yet initialized."); } |