aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-jogl
diff options
context:
space:
mode:
authorJoshua Slack <[email protected]>2017-04-20 21:12:42 -0500
committerJoshua Slack <[email protected]>2017-04-20 21:12:42 -0500
commit9e9c406384a5ef51fd777d936932382f8dde0dc4 (patch)
tree8b925b31021dc24c95bdc4cd0d36660dd4d7d607 /ardor3d-jogl
parent2d335b378ab5a4ab98741117230e82d3c7cb8a69 (diff)
Cleaned up various warnings
Diffstat (limited to 'ardor3d-jogl')
-rw-r--r--ardor3d-jogl/src/main/java/com/ardor3d/renderer/jogl/JoglPbufferTextureRenderer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/ardor3d-jogl/src/main/java/com/ardor3d/renderer/jogl/JoglPbufferTextureRenderer.java b/ardor3d-jogl/src/main/java/com/ardor3d/renderer/jogl/JoglPbufferTextureRenderer.java
index 119a6e7..1a74c24 100644
--- a/ardor3d-jogl/src/main/java/com/ardor3d/renderer/jogl/JoglPbufferTextureRenderer.java
+++ b/ardor3d-jogl/src/main/java/com/ardor3d/renderer/jogl/JoglPbufferTextureRenderer.java
@@ -3,7 +3,7 @@
*
* This file is part of Ardor3D.
*
- * Ardor3D is free software: you can redistribute it and/or modify it
+ * Ardor3D is free software: you can redistribute it and/or modify it
* under the terms of its license which may be found in the accompanying
* LICENSE file or at <http://www.ardor3d.com/LICENSE>.
*/
@@ -50,7 +50,7 @@ import com.ardor3d.util.geom.jogl.DirectNioBuffersSet;
* </p>
* N.B: This class can't work without a complete implementation of GLOffscreenAutoDrawable.PBuffer, which is currently
* missing from JOGL
- *
+ *
* @see TextureRendererFactory
*/
public class JoglPbufferTextureRenderer extends AbstractPbufferTextureRenderer {
@@ -298,7 +298,7 @@ public class JoglPbufferTextureRenderer extends AbstractPbufferTextureRenderer {
caps.setDoubleBuffered(false);
caps.setOnscreen(false);
caps.setPBuffer(true);
- _offscreenDrawable = fac.createOffscreenAutoDrawable(null, caps, null, _width, _height, _parentContext);
+ _offscreenDrawable = fac.createOffscreenAutoDrawable(null, caps, null, _width, _height);
_context = _offscreenDrawable.getContext();
_context.makeCurrent();