diff options
author | Sven Gothel <[email protected]> | 2012-10-12 15:29:01 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-10-12 15:29:01 +0200 |
commit | bd47a89aad60a6915551fa847eea1ecda78fc9d5 (patch) | |
tree | afe4afc204e7642f74f36543099de9c3a951375f /src/demos/es1/cubefbo | |
parent | 516131e6dd5beabc9df6d659c3f7284965bbe537 (diff) |
Adapt to latest JOGL changesv2.0-rc11
Diffstat (limited to 'src/demos/es1/cubefbo')
-rwxr-xr-x | src/demos/es1/cubefbo/FBCubes.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/demos/es1/cubefbo/FBCubes.java b/src/demos/es1/cubefbo/FBCubes.java index 5bdea5c..9da8e07 100755 --- a/src/demos/es1/cubefbo/FBCubes.java +++ b/src/demos/es1/cubefbo/FBCubes.java @@ -42,6 +42,7 @@ import com.jogamp.opengl.FBObject; import com.jogamp.opengl.FBObject.Attachment; import com.jogamp.opengl.FBObject.TextureAttachment; import com.jogamp.opengl.util.glsl.fixedfunc.FixedFuncUtil; +import com.jogamp.opengl.util.glsl.fixedfunc.ShaderSelectionMode; import demos.es1.cube.Cube; @@ -59,7 +60,7 @@ public class FBCubes implements GLEventListener { } public void init(GLAutoDrawable drawable) { - GL2ES1 gl = FixedFuncUtil.wrapFixedFuncEmul(drawable.getGL()); + GL2ES1 gl = FixedFuncUtil.wrapFixedFuncEmul(drawable.getGL(), ShaderSelectionMode.AUTO, null); System.out.println(gl); fbo1.reset(gl, FBO_SIZE, FBO_SIZE); |