summaryrefslogtreecommitdiffstats
path: root/src/demos/j2d/TextCube.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/j2d/TextCube.java')
-rwxr-xr-xsrc/demos/j2d/TextCube.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/j2d/TextCube.java b/src/demos/j2d/TextCube.java
index 5719a8f..0c97650 100755
--- a/src/demos/j2d/TextCube.java
+++ b/src/demos/j2d/TextCube.java
@@ -78,7 +78,7 @@ public class TextCube extends Demo {
Frame frame = new Frame("Text Cube");
frame.setLayout(new BorderLayout());
- GLCapabilities caps = new GLCapabilities(GLProfile.GetProfile(GLProfile.GL2));
+ GLCapabilities caps = new GLCapabilities(GLProfile.get(GLProfile.GL2));
GLCanvas canvas = new GLCanvas(caps);
final TextCube demo = new TextCube();