aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2014-08-15 22:03:44 +0200
committerJulien Gouesse <[email protected]>2014-08-15 22:03:44 +0200
commit2b528575c890ec46af9f564e1d587a459c21d46c (patch)
tree4496ea1ea96526f55cc94fce4dcb71be320b22a2
parent1d1f808cb6bb399d2569a3ab2bcfc73da59ea6c4 (diff)
Ports the JOGL basic example to NEWT
-rw-r--r--ardor3d-examples/src/main/java/com/ardor3d/example/basic/JoglBasicExample.java8
1 files changed, 4 insertions, 4 deletions
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);
}
/**