From 2b528575c890ec46af9f564e1d587a459c21d46c Mon Sep 17 00:00:00 2001 From: Julien Gouesse Date: Fri, 15 Aug 2014 22:03:44 +0200 Subject: Ports the JOGL basic example to NEWT --- .../src/main/java/com/ardor3d/example/basic/JoglBasicExample.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ardor3d-examples/src/main') diff --git a/ardor3d-examples/src/main/java/com/ardor3d/example/basic/JoglBasicExample.java b/ardor3d-examples/src/main/java/com/ardor3d/example/basic/JoglBasicExample.java index 03f4ae7..881030c 100644 --- a/ardor3d-examples/src/main/java/com/ardor3d/example/basic/JoglBasicExample.java +++ b/ardor3d-examples/src/main/java/com/ardor3d/example/basic/JoglBasicExample.java @@ -16,8 +16,8 @@ import com.ardor3d.bounding.BoundingBox; import com.ardor3d.example.Purpose; import com.ardor3d.framework.DisplaySettings; 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.util.awt.AWTImageLoader; import com.ardor3d.intersection.PickResults; @@ -54,7 +54,7 @@ maxHeapMemory = 64) public class JoglBasicExample implements Scene { // Our native window, not the gl surface itself. - private final JoglCanvas _canvas; + private final JoglNewtWindow _canvas; // Our timer. private final Timer _timer = new Timer(); @@ -103,10 +103,10 @@ public class JoglBasicExample implements Scene { * * @return the canvas. */ - private JoglCanvas initJogl() { + private JoglNewtWindow initJogl() { final JoglCanvasRenderer canvasRenderer = new JoglCanvasRenderer(this); final DisplaySettings settings = new DisplaySettings(800, 600, 24, 0, 0, 8, 0, 0, false, false); - return new JoglCanvas(canvasRenderer, settings); + return new JoglNewtWindow(canvasRenderer, settings); } /** -- cgit v1.2.3