diff options
Diffstat (limited to 'src/classes/com/sun/javafx/audio/windows')
-rwxr-xr-x | src/classes/com/sun/javafx/audio/windows/waveout/TestSpatialization.java | 4 |
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 |