diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/demos/es1/RedSquare.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/es1/RedSquare.java b/src/demos/es1/RedSquare.java index 2926746..81713ea 100755 --- a/src/demos/es1/RedSquare.java +++ b/src/demos/es1/RedSquare.java @@ -37,7 +37,7 @@ public class RedSquare implements MouseListener { public static void main(String[] args) { System.out.println("RedSquare.main()"); - GLProfile.setProfile(GLProfile.GLES1); + GLProfile.setProfileGL2ES1(); try { Display display = NewtFactory.createDisplay(null); // local display Screen screen = NewtFactory.createScreen(display, 0); // screen 0 @@ -67,7 +67,7 @@ public class RedSquare implements MouseListener { context.makeCurrent(); GL2ES1 gl = context.getGL().getGL2ES1(); - GLU glu = new javax.media.opengl.glu.es1.GLUes1(); + GLU glu = GLU.createGLU(gl); //---------------------------------------------------------------------- // Code for GLEventListener.init() |