aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/javafx/audio/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/com/sun/javafx/audio/windows')
-rwxr-xr-xsrc/classes/com/sun/javafx/audio/windows/waveout/TestSpatialization.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/classes/com/sun/javafx/audio/windows/waveout/TestSpatialization.java b/src/classes/com/sun/javafx/audio/windows/waveout/TestSpatialization.java
index e4ade6375..2040c55d1 100755
--- a/src/classes/com/sun/javafx/audio/windows/waveout/TestSpatialization.java
+++ b/src/classes/com/sun/javafx/audio/windows/waveout/TestSpatialization.java
@@ -44,7 +44,9 @@ public class TestSpatialization {
try {
// FIXME: this is a hack to get the native library loaded
- GLDrawableFactory.getFactory();
+ try {
+ GLDrawableFactory.getFactory(GLDrawableFactory.PROFILE_GLES1, null);
+ } catch (Exception e) {}
// Initialize the audio subsystem
Audio audio = Audio.getInstance();
// Create a track