summaryrefslogtreecommitdiffstats
path: root/src/demos/es2/openmax
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-08-01 08:45:59 +0200
committerSven Gothel <[email protected]>2011-08-01 08:45:59 +0200
commit4882763851a38d979b2117a4e4fbf62683d9ff8b (patch)
tree7eeb2382f91976e90d988ff4d13bb903e8f7f42d /src/demos/es2/openmax
parent69d8be50a2ed4078a66011317ef8bd94377cdf57 (diff)
FixedFuncUtil.getFixedFuncImpl() -> FixedFuncUtil.wrapFixedFuncEmul()
Diffstat (limited to 'src/demos/es2/openmax')
-rw-r--r--src/demos/es2/openmax/Cube.java2
-rwxr-xr-xsrc/demos/es2/openmax/MovieCube.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/es2/openmax/Cube.java b/src/demos/es2/openmax/Cube.java
index db09a06..51578dd 100644
--- a/src/demos/es2/openmax/Cube.java
+++ b/src/demos/es2/openmax/Cube.java
@@ -93,7 +93,7 @@ public class Cube implements GLEventListener {
}
public void init(GLAutoDrawable drawable) {
- GL2ES1 gl = FixedFuncUtil.getFixedFuncImpl(drawable.getGL());
+ GL2ES1 gl = FixedFuncUtil.wrapFixedFuncEmul(drawable.getGL());
glu = GLU.createGLU();
diff --git a/src/demos/es2/openmax/MovieCube.java b/src/demos/es2/openmax/MovieCube.java
index d992de1..932fcf8 100755
--- a/src/demos/es2/openmax/MovieCube.java
+++ b/src/demos/es2/openmax/MovieCube.java
@@ -122,7 +122,7 @@ public class MovieCube implements MouseListener, GLEventListener, OMXEventListen
}
public void init(GLAutoDrawable drawable) {
- GL2ES1 gl = FixedFuncUtil.getFixedFuncImpl(drawable.getGL());
+ GL2ES1 gl = FixedFuncUtil.wrapFixedFuncEmul(drawable.getGL());
System.out.println(gl);
gl.glGetError(); // flush error ..