diff options
author | Sven Gothel <[email protected]> | 2014-09-19 19:21:29 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-09-19 19:21:29 +0200 |
commit | a7ff8b898780762b763c0b4544728067375955b6 (patch) | |
tree | a2e67273d524790cf17535a91bf3c54340048ee1 | |
parent | fce65d0b8887387bfb71bbfeea63bc7915163399 (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]); |