From 9e9c406384a5ef51fd777d936932382f8dde0dc4 Mon Sep 17 00:00:00 2001 From: Joshua Slack Date: Thu, 20 Apr 2017 21:12:42 -0500 Subject: Cleaned up various warnings --- .../java/com/ardor3d/renderer/jogl/JoglPbufferTextureRenderer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ardor3d-jogl/src/main') 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 . */ @@ -50,7 +50,7 @@ import com.ardor3d.util.geom.jogl.DirectNioBuffersSet; *

* 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(); -- cgit v1.2.3