diff options
Diffstat (limited to 'src/jogl/classes/javax/media/opengl/GLCapabilities.java')
-rw-r--r-- | src/jogl/classes/javax/media/opengl/GLCapabilities.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLCapabilities.java b/src/jogl/classes/javax/media/opengl/GLCapabilities.java index 4368add3f..d48b95c79 100644 --- a/src/jogl/classes/javax/media/opengl/GLCapabilities.java +++ b/src/jogl/classes/javax/media/opengl/GLCapabilities.java @@ -81,7 +81,7 @@ public class GLCapabilities extends Capabilities implements Cloneable { * @param glp GLProfile, or null for the default GLProfile */ public GLCapabilities(GLProfile glp) { - glProfile = (null!=glp)?glp:GLProfile.getDefault(); + glProfile = (null!=glp)?glp:GLProfile.getDefault(GLProfile.getDefaultDevice()); } public Object clone() { |