summaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes/javax/media
diff options
context:
space:
mode:
Diffstat (limited to 'src/nativewindow/classes/javax/media')
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/DefaultGraphicsConfiguration.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/DefaultGraphicsConfiguration.java b/src/nativewindow/classes/javax/media/nativewindow/DefaultGraphicsConfiguration.java
index 7912832c1..cae37c36c 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/DefaultGraphicsConfiguration.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/DefaultGraphicsConfiguration.java
@@ -52,9 +52,6 @@ public class DefaultGraphicsConfiguration implements Cloneable, AbstractGraphics
if(null == capsRequested) {
throw new IllegalArgumentException("Null requested caps");
}
- if( ! ( capsChosen instanceof VisualIDHolder ) ) {
- throw new IllegalArgumentException("Chosen caps is not implementing NativeVisualID");
- }
this.screen = screen;
this.capabilitiesChosen = capsChosen;
this.capabilitiesRequested = capsRequested;