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