aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-examples/src
diff options
context:
space:
mode:
Diffstat (limited to 'ardor3d-examples/src')
-rw-r--r--ardor3d-examples/src/main/java/com/ardor3d/example/benchmark/ball/BubbleMarkExample.java6
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);
}
/**