diff options
author | Sven Gothel <[email protected]> | 2014-09-21 00:24:04 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-09-21 00:24:04 +0200 |
commit | 4392e90ea2909d89895d992833bf9e71ae922a1d (patch) | |
tree | 4328171e89f0caa8eefd9d27afc386aa2e98e72f /src/demos/es1/cubefbo/FBCubes.java | |
parent | 1bfb3f2eb9e0b3a088c2762c05629a7913e06b21 (diff) |
Adapt to JOGL commit 38f6915fedb765313c1f4646acf9e13dfbccef36 (FBObject)
Diffstat (limited to 'src/demos/es1/cubefbo/FBCubes.java')
-rwxr-xr-x | src/demos/es1/cubefbo/FBCubes.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/es1/cubefbo/FBCubes.java b/src/demos/es1/cubefbo/FBCubes.java index 8fe9c9f..3f12bd9 100755 --- a/src/demos/es1/cubefbo/FBCubes.java +++ b/src/demos/es1/cubefbo/FBCubes.java @@ -64,7 +64,7 @@ public class FBCubes implements GLEventListener { GL2ES1 gl = FixedFuncUtil.wrapFixedFuncEmul(drawable.getGL(), ShaderSelectionMode.AUTO, null); System.out.println(gl); - fbo1.reset(gl, FBO_SIZE, FBO_SIZE); + fbo1.init(gl, FBO_SIZE, FBO_SIZE, 0); fbo1.attachTexture2D(gl, 0, true); fbo1.attachRenderbuffer(gl, Attachment.Type.DEPTH, 32); fbo1.unbind(gl); |