summaryrefslogtreecommitdiffstats
path: root/src/demos/es2/RedSquare.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es2/RedSquare.java')
-rwxr-xr-xsrc/demos/es2/RedSquare.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/es2/RedSquare.java b/src/demos/es2/RedSquare.java
index 5f120a5..d2149bc 100755
--- a/src/demos/es2/RedSquare.java
+++ b/src/demos/es2/RedSquare.java
@@ -71,7 +71,7 @@ public class RedSquare extends Thread implements WindowListener, MouseListener,
System.err.println(glp+" RedSquare.run()");
int width = 800;
int height = 480;
- glp = GLProfile.GetProfile(glprofile);
+ glp = GLProfile.get(glprofile);
try {
GLCapabilities caps = new GLCapabilities(glp);