diff options
Diffstat (limited to 'src/jogl')
-rw-r--r-- | src/jogl/classes/com/sun/opengl/util/glsl/fixedfunc/FixedFuncUtil.java | 2 |
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); |