summaryrefslogtreecommitdiffstats
path: root/src/demos/j2d/TestTextureRenderer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/j2d/TestTextureRenderer.java')
-rwxr-xr-xsrc/demos/j2d/TestTextureRenderer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/j2d/TestTextureRenderer.java b/src/demos/j2d/TestTextureRenderer.java
index 9e57b3f..f85cce4 100755
--- a/src/demos/j2d/TestTextureRenderer.java
+++ b/src/demos/j2d/TestTextureRenderer.java
@@ -74,7 +74,7 @@ public class TestTextureRenderer implements GLEventListener {
public static void main(String[] args) {
Frame frame = new Frame("Java 2D Renderer Test");
- GLCapabilities caps = new GLCapabilities(GLProfile.GetProfile(GLProfile.GL2));
+ GLCapabilities caps = new GLCapabilities(GLProfile.get(GLProfile.GL2));
caps.setAlphaBits(8);
GLCanvas canvas = new GLCanvas(caps);