diff options
author | Julien Gouesse <[email protected]> | 2014-08-15 22:16:37 +0200 |
---|---|---|
committer | Julien Gouesse <[email protected]> | 2014-08-15 22:16:37 +0200 |
commit | 17980a4b185e997809f31cd254dbd938e22c0b6d (patch) | |
tree | 3cc7bbeeac26bb3d61265839f0c8910090471b41 /ardor3d-examples/src | |
parent | 2b528575c890ec46af9f564e1d587a459c21d46c (diff) |
Ports the JOGL bubble mark example to NEWT
Diffstat (limited to 'ardor3d-examples/src')
-rw-r--r-- | ardor3d-examples/src/main/java/com/ardor3d/example/benchmark/ball/BubbleMarkExample.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ardor3d-examples/src/main/java/com/ardor3d/example/benchmark/ball/BubbleMarkExample.java b/ardor3d-examples/src/main/java/com/ardor3d/example/benchmark/ball/BubbleMarkExample.java index aa1481d..c2475d2 100644 --- a/ardor3d-examples/src/main/java/com/ardor3d/example/benchmark/ball/BubbleMarkExample.java +++ b/ardor3d-examples/src/main/java/com/ardor3d/example/benchmark/ball/BubbleMarkExample.java @@ -18,8 +18,8 @@ import com.ardor3d.framework.CanvasRenderer; import com.ardor3d.framework.DisplaySettings; import com.ardor3d.framework.NativeCanvas; import com.ardor3d.framework.Scene; -import com.ardor3d.framework.jogl.JoglCanvas; import com.ardor3d.framework.jogl.JoglCanvasRenderer; +import com.ardor3d.framework.jogl.JoglNewtWindow; import com.ardor3d.image.Texture; import com.ardor3d.image.TextureStoreFormat; import com.ardor3d.image.util.awt.AWTImageLoader; @@ -135,11 +135,9 @@ public class BubbleMarkExample implements Scene { * @return the canvas. */ private NativeCanvas initCanvas() { - // if ("true".equalsIgnoreCase(System.getProperty("jogl"))) { final JoglCanvasRenderer canvasRenderer = new JoglCanvasRenderer(this); final DisplaySettings settings = new DisplaySettings(width, height, 24, 0, 0, 8, 0, 0, false, false); - return new JoglCanvas(canvasRenderer, settings); - // } + return new JoglNewtWindow(canvasRenderer, settings); } /** |