From 2d80b5049bef23736c059782104162b48dbd1df6 Mon Sep 17 00:00:00 2001 From: Julien Gouesse Date: Wed, 30 Jan 2013 19:58:08 +0100 Subject: Adds offscreen support --- .../src/main/java/com/ardor3d/framework/jogl/JoglNewtWindow.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ardor3d-jogl/src/main/java') diff --git a/ardor3d-jogl/src/main/java/com/ardor3d/framework/jogl/JoglNewtWindow.java b/ardor3d-jogl/src/main/java/com/ardor3d/framework/jogl/JoglNewtWindow.java index 394715e..9490dea 100644 --- a/ardor3d-jogl/src/main/java/com/ardor3d/framework/jogl/JoglNewtWindow.java +++ b/ardor3d-jogl/src/main/java/com/ardor3d/framework/jogl/JoglNewtWindow.java @@ -51,7 +51,8 @@ public class JoglNewtWindow implements NativeCanvas, NewtWindowContainer { public JoglNewtWindow(final JoglCanvasRenderer canvasRenderer, final DisplaySettings settings, final boolean onscreen, final boolean bitmapRequested, final boolean pbufferRequested, final boolean fboRequested) { - _newtWindow = GLWindow.create(CapsUtil.getCapsForSettings(settings)); + _newtWindow = GLWindow.create(CapsUtil.getCapsForSettings(settings, onscreen, bitmapRequested, + pbufferRequested, fboRequested)); _drawerGLRunnable = new JoglDrawerRunnable(canvasRenderer); _settings = settings; _canvasRenderer = canvasRenderer; -- cgit v1.2.3