summaryrefslogtreecommitdiffstats
path: root/src/demos/j2d/TestOverlay.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2008-12-30 16:17:16 +0000
committerKenneth Russel <[email protected]>2008-12-30 16:17:16 +0000
commitd8749bb11e948516a69d85a03be66cc4ef74b1d3 (patch)
treef39c3d7b49e313ff8e078445911d3f14b91c674d /src/demos/j2d/TestOverlay.java
parentdb0a8ad5863b6fad1520677d8a52c99ea88139e1 (diff)
Moved GL2- and AWT-specific utility classes into the AWT package
because the expectation is that the AWT implementation will only be used on the desktop, where the GL2 profile is always available, and renamed the classes to their JOGL 1.0 naming convention. Updated demos. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@308 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos/j2d/TestOverlay.java')
-rwxr-xr-xsrc/demos/j2d/TestOverlay.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/demos/j2d/TestOverlay.java b/src/demos/j2d/TestOverlay.java
index 6212def..eaf4088 100755
--- a/src/demos/j2d/TestOverlay.java
+++ b/src/demos/j2d/TestOverlay.java
@@ -39,9 +39,7 @@
package demos.j2d;
-
-
-import com.sun.opengl.util.awt.gl2.GL2Overlay;
+import com.sun.opengl.util.awt.Overlay;
import demos.gears.Gears;
import demos.util.*;
import gleem.linalg.*;
@@ -94,7 +92,7 @@ public class TestOverlay implements GLEventListener {
animator.start();
}
- private GL2Overlay overlay;
+ private Overlay overlay;
private Time time;
private Font font;
private Color TRANSPARENT_BLACK = new Color(0.0f, 0.0f, 0.0f, 0.0f);
@@ -115,7 +113,7 @@ public class TestOverlay implements GLEventListener {
GL gl = drawable.getGL();
gl.setSwapInterval(0);
- overlay = new GL2Overlay(drawable);
+ overlay = new Overlay(drawable);
time = new SystemTime();
((SystemTime) time).rebase();