diff options
Diffstat (limited to 'src/demos/es1/cubefbo/FBCubes.java')
-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); |