summaryrefslogtreecommitdiffstats
path: root/src/demos/jgears/JGears.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/jgears/JGears.java')
-rw-r--r--src/demos/jgears/JGears.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/jgears/JGears.java b/src/demos/jgears/JGears.java
index 5ba25bc..e885bd5 100644
--- a/src/demos/jgears/JGears.java
+++ b/src/demos/jgears/JGears.java
@@ -44,7 +44,7 @@ public class JGears extends GLJPanel {
private BufferedImage openglImage;
static {
- caps = new GLCapabilities(GLProfile.GetProfile(GLProfile.GL2));
+ caps = new GLCapabilities(GLProfile.get(GLProfile.GL2));
caps.setAlphaBits(8);
}