diff options
Diffstat (limited to 'src/classes/com/sun/javafx/newt/macosx/MacWindow.java')
-rwxr-xr-x | src/classes/com/sun/javafx/newt/macosx/MacWindow.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/classes/com/sun/javafx/newt/macosx/MacWindow.java b/src/classes/com/sun/javafx/newt/macosx/MacWindow.java index cebd356c2..8427bb607 100755 --- a/src/classes/com/sun/javafx/newt/macosx/MacWindow.java +++ b/src/classes/com/sun/javafx/newt/macosx/MacWindow.java @@ -33,6 +33,8 @@ package com.sun.javafx.newt.macosx; +import javax.media.opengl.GLCapabilities; + import com.sun.javafx.newt.*; import com.sun.opengl.impl.*; @@ -51,7 +53,9 @@ public class MacWindow extends Window { public MacWindow() { } - protected final void createNative() { + protected final void createNative(GLCapabilities caps) { + chosenCaps = (GLCapabilities) caps.clone(); // FIXME: visualID := f1(caps); caps := f2(visualID) + visualID = 0; // n/a } protected final void closeNative() { |