summaryrefslogtreecommitdiffstats
path: root/src/demos/es2/openmax
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es2/openmax')
-rw-r--r--src/demos/es2/openmax/Cube.java9
-rwxr-xr-xsrc/demos/es2/openmax/MovieCube.java4
2 files changed, 7 insertions, 6 deletions
diff --git a/src/demos/es2/openmax/Cube.java b/src/demos/es2/openmax/Cube.java
index d993522..58d9626 100644
--- a/src/demos/es2/openmax/Cube.java
+++ b/src/demos/es2/openmax/Cube.java
@@ -31,11 +31,12 @@
*/
package demos.es2.openmax;
+import java.nio.*;
import javax.media.opengl.*;
-import javax.media.opengl.sub.fixed.*;
-import javax.media.opengl.util.*;
import javax.media.opengl.glu.*;
-import java.nio.*;
+
+import com.sun.opengl.util.*;
+import com.sun.opengl.util.glsl.fixedfunc.*;
import com.sun.javafx.newt.*;
import com.sun.javafx.newt.opengl.*;
@@ -91,7 +92,7 @@ public class Cube implements GLEventListener {
}
public void init(GLAutoDrawable drawable) {
- GL2ES1 gl = GLFixedFuncUtil.getFixedFuncImpl(drawable.getGL());
+ GL2ES1 gl = FixedFuncUtil.getFixedFuncImpl(drawable.getGL());
glu = GLU.createGLU();
diff --git a/src/demos/es2/openmax/MovieCube.java b/src/demos/es2/openmax/MovieCube.java
index 94e4044..4655074 100755
--- a/src/demos/es2/openmax/MovieCube.java
+++ b/src/demos/es2/openmax/MovieCube.java
@@ -37,7 +37,7 @@ package demos.es2.openmax;
import javax.media.opengl.*;
import javax.media.opengl.util.*;
-import javax.media.opengl.sub.fixed.*;
+import com.sun.opengl.util.glsl.fixedfunc.*;
import com.sun.openmax.*;
@@ -123,7 +123,7 @@ public class MovieCube implements MouseListener, GLEventListener, OMXEventListen
}
public void init(GLAutoDrawable drawable) {
- GL2ES1 gl = GLFixedFuncUtil.getFixedFuncImpl(drawable.getGL());
+ GL2ES1 gl = FixedFuncUtil.getFixedFuncImpl(drawable.getGL());
System.out.println(gl);
gl.glGetError(); // flush error ..