diff options
author | Sven Gothel <[email protected]> | 2012-10-07 12:43:16 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-10-07 12:43:16 +0200 |
commit | 747589b5c3267835c36138afded38f607ba6e04e (patch) | |
tree | 04ce175309fdfa993584e8bab132b252239bfb22 /test | |
parent | 0eba8e26ff1426d4fb2b6b58e9825f72def4c8f3 (diff) |
Simple JOGL2 port
- Remove _very_ old JOGL port (net.java.games.jogl.GL)
- Rename Jsr231* -> Jogl*
- Port Jsr231 to Jogl2:
- package rename of jogl/joal
- use AWT GLCanvas derivation instead of partially reimplementing it in JoglDriver
- drop some EXT suffixes
- name driver 'jogl2'
Diffstat (limited to 'test')
-rw-r--r-- | test/jake2/render/TestMap.java | 2 | ||||
-rw-r--r-- | test/jake2/render/TestRenderer.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/jake2/render/TestMap.java b/test/jake2/render/TestMap.java index f9a78ce..f127a19 100644 --- a/test/jake2/render/TestMap.java +++ b/test/jake2/render/TestMap.java @@ -84,7 +84,7 @@ public class TestMap // sehr wichtig !!! VID.Shutdown(); - Globals.re = this.re = Renderer.getDriver("jsr231", true); + Globals.re = this.re = Renderer.getDriver("jogl2", true); re.Init(0, 0); diff --git a/test/jake2/render/TestRenderer.java b/test/jake2/render/TestRenderer.java index 46426eb..a1a9515 100644 --- a/test/jake2/render/TestRenderer.java +++ b/test/jake2/render/TestRenderer.java @@ -75,7 +75,7 @@ public class TestRenderer { Locale.setDefault(Locale.US); Jake2.Q2Dialog.setVisible(true); - String DRIVER = "jsr231"; + String DRIVER = "jogl2"; Qcommon.Init(new String[] { "TestRenderer", "+set", "gl_mode", "6", "+set", "vid_fullscreen", "0", "+set", "vid_ref", DRIVER }); @@ -723,4 +723,4 @@ public class TestRenderer { vertexBuf.put(i + 1, org[1]); vertexBuf.put(i + 2, org[2]); } -}
\ No newline at end of file +} |