diff options
Diffstat (limited to 'src/demos/es1/angeles')
-rwxr-xr-x | src/demos/es1/angeles/AngelesGL.java | 3 | ||||
-rwxr-xr-x | src/demos/es1/angeles/AngelesGLil.java | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/demos/es1/angeles/AngelesGL.java b/src/demos/es1/angeles/AngelesGL.java index 42dbf76..176e7c0 100755 --- a/src/demos/es1/angeles/AngelesGL.java +++ b/src/demos/es1/angeles/AngelesGL.java @@ -28,6 +28,7 @@ import javax.media.opengl.*; import javax.media.opengl.glu.*; import com.jogamp.opengl.util.*; import com.jogamp.opengl.util.glsl.fixedfunc.*; + import java.nio.*; public class AngelesGL implements GLEventListener { @@ -86,7 +87,7 @@ public class AngelesGL implements GLEventListener { cComps = drawable.getGL().isGLES1() ? 4: 3; - this.gl = FixedFuncUtil.wrapFixedFuncEmul(drawable.getGL()); + this.gl = FixedFuncUtil.wrapFixedFuncEmul(drawable.getGL(), ShaderSelectionMode.AUTO, null); System.err.println("AngelesGL: "+this.gl); this.glu = GLU.createGLU(); diff --git a/src/demos/es1/angeles/AngelesGLil.java b/src/demos/es1/angeles/AngelesGLil.java index 3e96dc1..077b975 100755 --- a/src/demos/es1/angeles/AngelesGLil.java +++ b/src/demos/es1/angeles/AngelesGLil.java @@ -28,6 +28,7 @@ import javax.media.opengl.*; import javax.media.opengl.glu.*; import com.jogamp.opengl.util.*; import com.jogamp.opengl.util.glsl.fixedfunc.*; + import java.nio.*; public class AngelesGLil implements GLEventListener { @@ -82,7 +83,7 @@ public class AngelesGLil implements GLEventListener { cComps = drawable.getGL().isGLES1() ? 4: 3; - this.gl = FixedFuncUtil.wrapFixedFuncEmul(drawable.getGL()); + this.gl = FixedFuncUtil.wrapFixedFuncEmul(drawable.getGL(), ShaderSelectionMode.AUTO, null); System.err.println("AngelesGL: "+this.gl); this.glu = GLU.createGLU(); |