aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/games/jogl/GLCapabilitiesChooser.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/games/jogl/GLCapabilitiesChooser.java')
-rw-r--r--src/net/java/games/jogl/GLCapabilitiesChooser.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/net/java/games/jogl/GLCapabilitiesChooser.java b/src/net/java/games/jogl/GLCapabilitiesChooser.java
index 16b0e2b76..78486f1e9 100644
--- a/src/net/java/games/jogl/GLCapabilitiesChooser.java
+++ b/src/net/java/games/jogl/GLCapabilitiesChooser.java
@@ -47,6 +47,11 @@ public interface GLCapabilitiesChooser {
GLCapabilities} most closely matching the desired one from the
list of all supported. Some of the entries in the
<code>available</code> array may be null; the chooser must
- ignore these. */
- public int chooseCapabilities(GLCapabilities desired, GLCapabilities[] available);
+ ignore these. The <em>windowSystemRecommendedChoice</em>
+ parameter may be provided to the chooser by the underlying
+ window system; if this index is valid, it is recommended, but
+ not necessarily required, that the chooser select that entry. */
+ public int chooseCapabilities(GLCapabilities desired,
+ GLCapabilities[] available,
+ int windowSystemRecommendedChoice);
}