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/angeles/AngelesGLil.java | |
parent | 516131e6dd5beabc9df6d659c3f7284965bbe537 (diff) |
Adapt to latest JOGL changes
Diffstat (limited to 'src/demos/es1/angeles/AngelesGLil.java')
-rwxr-xr-x | src/demos/es1/angeles/AngelesGLil.java | 3 |
1 files changed, 2 insertions, 1 deletions
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(); |