summaryrefslogtreecommitdiffstats
path: root/src/demos/xtrans/XTDesktopManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/xtrans/XTDesktopManager.java')
-rwxr-xr-xsrc/demos/xtrans/XTDesktopManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/xtrans/XTDesktopManager.java b/src/demos/xtrans/XTDesktopManager.java
index 2771107..0081b5c 100755
--- a/src/demos/xtrans/XTDesktopManager.java
+++ b/src/demos/xtrans/XTDesktopManager.java
@@ -117,7 +117,7 @@ public class XTDesktopManager extends OffscreenDesktopManager {
// Get valid Java2D context
if (j2dContext == null ||
j2dContextSurfaceIdentifier != Java2D.getOGLSurfaceIdentifier(g)) {
- GLProfile glp = GLProfile.GetProfileDefault();
+ GLProfile glp = GLProfile.getDefault();
j2dContext = GLDrawableFactory.getFactory(glp).createExternalGLContext();
j2dContext.setGL(new DebugGL2(j2dContext.getGL().getGL2()));
j2dContextSurfaceIdentifier = Java2D.getOGLSurfaceIdentifier(g);