diff options
author | Sven Gothel <[email protected]> | 2014-09-19 19:21:29 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-09-20 06:21:05 +0200 |
commit | 577272e55c4f0d76854ee8f8a10f49796b5014f5 (patch) | |
tree | 5a009dd901c152b12f63bffadf8279a9420c0329 | |
parent | f51ccf9974a9a0479ef3c6c6692955ce3717682d (diff) |
StereoClientRenderer: Remove redundant FBObject.detachAllColorbuffer(gl) for init call
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/util/stereo/StereoClientRenderer.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/stereo/StereoClientRenderer.java b/src/jogl/classes/com/jogamp/opengl/util/stereo/StereoClientRenderer.java index c9445b74f..8bcce71a9 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/stereo/StereoClientRenderer.java +++ b/src/jogl/classes/com/jogamp/opengl/util/stereo/StereoClientRenderer.java @@ -87,7 +87,6 @@ public class StereoClientRenderer implements GLEventListener { private void initFBOs(final GL gl, final DimensionImmutable size) { for(int i=0; i<fbos.length; i++) { - fbos[i].detachAllColorbuffer(gl); fbos[i].reset(gl, size.getWidth(), size.getHeight(), numSamples, false); if( i>0 && fbos[i-1].getNumSamples() != fbos[i].getNumSamples()) { throw new InternalError("sample size mismatch: \n\t0: "+fbos[i-1]+"\n\t1: "+fbos[i]); |