diff options
author | Sven Gothel <[email protected]> | 2012-10-08 10:44:05 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-10-08 10:44:05 +0200 |
commit | f5612e7dfc635359f15b402c2ee9022a5e703a9d (patch) | |
tree | 0b54287f72b87a2693f38ed308195e928311a093 /src/jake2/render/DummyRenderer.java | |
parent | 3119458b32c8620f971ba44488389ddf03b2d705 (diff) |
Simple NEWT port: Remove AWT dependencies in Jake2 / JOGL / Fast (default mode) - Prepare for ES2NEWT
- Removed AWT init dialog, replaced w/ UI less auto install if n/a @ default location:
$HOME/Jake2/baseq2
- JOGL GL2 Renderer 'joglgl2'
- JOGL ES2 Renderer 'jogles2' (TBD)
- Replaced JOGLKBD (AWT) w/ NEWTKBD
- JOGL* Renderer using NEWT
Diffstat (limited to 'src/jake2/render/DummyRenderer.java')
-rw-r--r-- | src/jake2/render/DummyRenderer.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/jake2/render/DummyRenderer.java b/src/jake2/render/DummyRenderer.java index 8e07c18..73d05a6 100644 --- a/src/jake2/render/DummyRenderer.java +++ b/src/jake2/render/DummyRenderer.java @@ -7,8 +7,9 @@ package jake2.render; -import java.awt.Dimension; -import java.awt.DisplayMode; +import javax.media.nativewindow.util.Dimension; + +import com.jogamp.newt.ScreenMode; import jake2.client.refdef_t; import jake2.client.refexport_t; @@ -81,7 +82,7 @@ public class DummyRenderer implements refexport_t { } /* (non-Javadoc) - * @see jake2.client.refexport_t#DrawGetPicSize(java.awt.Dimension, java.lang.String) + * @see jake2.client.refexport_t#DrawGetPicSize(Dimension, java.lang.String) */ public void DrawGetPicSize(Dimension dim, String name) { } @@ -169,7 +170,7 @@ public class DummyRenderer implements refexport_t { /* (non-Javadoc) * @see jake2.client.refexport_t#getModeList() */ - public DisplayMode[] getModeList() { + public ScreenMode[] getModeList() { return null; } |