aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/sun/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-03-20 17:15:09 +0000
committerSven Gothel <[email protected]>2009-03-20 17:15:09 +0000
commit7fd960d6c849efa6ccee10360b7e37b73e74e992 (patch)
treed26c5ca4a9f81714a8645f4718aae9cbbf6ee838 /src/jogl/classes/com/sun/opengl
parent6491f64449ca43f126cb58d011497ce17971c6c5 (diff)
Fix GL2ES12.isGL() and re-adding the shader code to the jar
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1893 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/jogl/classes/com/sun/opengl')
-rw-r--r--src/jogl/classes/com/sun/opengl/util/glsl/fixedfunc/FixedFuncUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/sun/opengl/util/glsl/fixedfunc/FixedFuncUtil.java b/src/jogl/classes/com/sun/opengl/util/glsl/fixedfunc/FixedFuncUtil.java
index 02d6ec92e..9c8a65173 100644
--- a/src/jogl/classes/com/sun/opengl/util/glsl/fixedfunc/FixedFuncUtil.java
+++ b/src/jogl/classes/com/sun/opengl/util/glsl/fixedfunc/FixedFuncUtil.java
@@ -22,7 +22,7 @@ public class FixedFuncUtil {
if(gl.isGL2ES1()) {
return gl.getGL2ES1();
} else if(gl.isGL2ES2()) {
- GL2ES2 es2 = (GL2ES2)gl;
+ GL2ES2 es2 = gl.getGL2ES2();
FixedFuncHook hook = new FixedFuncHook(es2);
FixedFuncImpl impl = new FixedFuncImpl(es2, hook);
gl.getContext().setGL(impl);