summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/javax/media/opengl/GLContext.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/javax/media/opengl/GLContext.java')
-rw-r--r--src/jogl/classes/javax/media/opengl/GLContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLContext.java b/src/jogl/classes/javax/media/opengl/GLContext.java
index 16399799f..e4e29ee2b 100644
--- a/src/jogl/classes/javax/media/opengl/GLContext.java
+++ b/src/jogl/classes/javax/media/opengl/GLContext.java
@@ -1611,7 +1611,7 @@ public abstract class GLContext {
// Thread.dumpStack();
}
final String objectKey = getDeviceVersionAvailableKey(device, reqMajor, profile);
- final Integer val = new Integer(composeBits(resMajor, resMinor, resCtp));
+ final Integer val = Integer.valueOf(composeBits(resMajor, resMinor, resCtp));
synchronized(deviceVersionAvailable) {
return deviceVersionAvailable.put( objectKey, val );
}