summaryrefslogtreecommitdiffstats
path: root/src/demos/es2/RedSquare.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-02-03 01:16:05 +0100
committerSven Gothel <[email protected]>2015-02-03 01:16:05 +0100
commitb32c5de0d658a0e41eabe6590da20bc8300c0dae (patch)
treed022fecab71be00412f52ecd528900e2966625d1 /src/demos/es2/RedSquare.java
parent4392e90ea2909d89895d992833bf9e71ae922a1d (diff)
Bug 682 - Relocating javax.media.opengl.* -> com.jogamp.opengl.* (Part 1)
Diffstat (limited to 'src/demos/es2/RedSquare.java')
-rwxr-xr-xsrc/demos/es2/RedSquare.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/demos/es2/RedSquare.java b/src/demos/es2/RedSquare.java
index a1b1250..4347148 100755
--- a/src/demos/es2/RedSquare.java
+++ b/src/demos/es2/RedSquare.java
@@ -2,8 +2,8 @@ package demos.es2;
import java.nio.*;
import java.util.*;
-import javax.media.opengl.*;
-import javax.media.nativewindow.*;
+import com.jogamp.opengl.*;
+import com.jogamp.nativewindow.*;
import com.jogamp.opengl.util.*;
import com.jogamp.opengl.util.glsl.*;
@@ -199,10 +199,10 @@ public class RedSquare extends Thread implements WindowListener, KeyListener, Mo
if(debuggl) {
try {
// Debug ..
- gl = (GL2ES2) gl.getContext().setGL( GLPipelineFactory.create("javax.media.opengl.Debug", GL2ES2.class, gl, null) );
+ gl = (GL2ES2) gl.getContext().setGL( GLPipelineFactory.create("com.jogamp.opengl.Debug", GL2ES2.class, gl, null) );
// Trace ..
- gl = (GL2ES2) gl.getContext().setGL( GLPipelineFactory.create("javax.media.opengl.Trace", GL2ES2.class, gl, new Object[] { System.err } ) );
+ gl = (GL2ES2) gl.getContext().setGL( GLPipelineFactory.create("com.jogamp.opengl.Trace", GL2ES2.class, gl, new Object[] { System.err } ) );
} catch (Exception e) {e.printStackTrace();}
}