diff options
Diffstat (limited to 'src/demos/es1/cube/Cube.java')
-rw-r--r-- | src/demos/es1/cube/Cube.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/demos/es1/cube/Cube.java b/src/demos/es1/cube/Cube.java index 59b4514..1d31527 100644 --- a/src/demos/es1/cube/Cube.java +++ b/src/demos/es1/cube/Cube.java @@ -33,10 +33,11 @@ package demos.es1.cube; import java.nio.*; import javax.media.opengl.*; -import javax.media.opengl.sub.fixed.*; -import javax.media.opengl.util.*; import javax.media.opengl.glu.*; +import com.sun.opengl.util.*; +import com.sun.opengl.util.glsl.fixedfunc.*; + import com.sun.javafx.newt.*; import com.sun.javafx.newt.opengl.*; @@ -75,7 +76,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(); |