From 7fd960d6c849efa6ccee10360b7e37b73e74e992 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 20 Mar 2009 17:15:09 +0000 Subject: 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 --- src/jogl/classes/com/sun/opengl/util/glsl/fixedfunc/FixedFuncUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jogl/classes/com/sun/opengl/util') 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); -- cgit v1.2.3