summaryrefslogtreecommitdiffstats
path: root/src/demos/es1/cube
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es1/cube')
-rw-r--r--src/demos/es1/cube/Cube.java2
-rw-r--r--src/demos/es1/cube/CubeImmModeSink.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/es1/cube/Cube.java b/src/demos/es1/cube/Cube.java
index 769bbe6..001f821 100644
--- a/src/demos/es1/cube/Cube.java
+++ b/src/demos/es1/cube/Cube.java
@@ -95,7 +95,7 @@ public class Cube implements GLEventListener {
} catch (Exception e) {e.printStackTrace();}
}
- GL2ES1 gl = FixedFuncUtil.getFixedFuncImpl(_gl);
+ GL2ES1 gl = FixedFuncUtil.wrapFixedFuncEmul(_gl);
glu = GLU.createGLU();
diff --git a/src/demos/es1/cube/CubeImmModeSink.java b/src/demos/es1/cube/CubeImmModeSink.java
index 944cad0..81f89d8 100644
--- a/src/demos/es1/cube/CubeImmModeSink.java
+++ b/src/demos/es1/cube/CubeImmModeSink.java
@@ -167,7 +167,7 @@ public class CubeImmModeSink implements GLEventListener {
}
public void init(GLAutoDrawable drawable) {
- GL2ES1 gl = FixedFuncUtil.getFixedFuncImpl(drawable.getGL());
+ GL2ES1 gl = FixedFuncUtil.wrapFixedFuncEmul(drawable.getGL());
glu = GLU.createGLU();