aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-jogl/src/main/java
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2013-01-30 19:58:08 +0100
committerJulien Gouesse <[email protected]>2013-01-30 19:58:08 +0100
commit2d80b5049bef23736c059782104162b48dbd1df6 (patch)
treeb00f11d27048860ce62d53e3765955b8e409b2e2 /ardor3d-jogl/src/main/java
parentb71670d1ae77b734b0259504f2e5b5a28396b2a3 (diff)
Adds offscreen support
Diffstat (limited to 'ardor3d-jogl/src/main/java')
-rw-r--r--ardor3d-jogl/src/main/java/com/ardor3d/framework/jogl/JoglNewtWindow.java3
1 files changed, 2 insertions, 1 deletions
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;