summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/windows/wgl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-04-01 16:00:20 +0200
committerSven Gothel <[email protected]>2015-04-01 16:00:20 +0200
commit5deabf720f1101b39376cb211c39f6f0c3474153 (patch)
tree48b02b23aa8dd72db06920a44599174d3fffa43b /src/jogl/classes/jogamp/opengl/windows/wgl
parentb142c7130c05c9c0ae97841b4ff626f528c45438 (diff)
Bug 1153 - Adopt to ArrayHashSet change, don't use deprecated ctor (gluegen commit c156343fec33ceea7f238b9766a9f4985fb92687)
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/windows/wgl')
-rw-r--r--src/jogl/classes/jogamp/opengl/windows/wgl/awt/WindowsAWTWGLGraphicsConfigurationFactory.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/windows/wgl/awt/WindowsAWTWGLGraphicsConfigurationFactory.java b/src/jogl/classes/jogamp/opengl/windows/wgl/awt/WindowsAWTWGLGraphicsConfigurationFactory.java
index 83e4ae472..342b4a750 100644
--- a/src/jogl/classes/jogamp/opengl/windows/wgl/awt/WindowsAWTWGLGraphicsConfigurationFactory.java
+++ b/src/jogl/classes/jogamp/opengl/windows/wgl/awt/WindowsAWTWGLGraphicsConfigurationFactory.java
@@ -152,7 +152,8 @@ public class WindowsAWTWGLGraphicsConfigurationFactory extends GLGraphicsConfigu
// collect all available PFD IDs
final GraphicsConfiguration[] configs = device.getConfigurations();
final int[] pfdIDs = new int[configs.length];
- final ArrayHashSet<Integer> pfdIDOSet = new ArrayHashSet<Integer>();
+ final ArrayHashSet<Integer> pfdIDOSet =
+ new ArrayHashSet<Integer>(false, ArrayHashSet.DEFAULT_INITIAL_CAPACITY, ArrayHashSet.DEFAULT_LOAD_FACTOR);
for (int i = 0; i < configs.length; i++) {
final GraphicsConfiguration gc = configs[i];
pfdIDs[i] = Win32SunJDKReflection.graphicsConfigurationGetPixelFormatID(gc);