diff options
Diffstat (limited to 'src/test/com')
-rw-r--r-- | src/test/com/jogamp/openal/test/manual/Sound3DTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/com/jogamp/openal/test/manual/Sound3DTest.java b/src/test/com/jogamp/openal/test/manual/Sound3DTest.java index 62a758a..39f96bd 100644 --- a/src/test/com/jogamp/openal/test/manual/Sound3DTest.java +++ b/src/test/com/jogamp/openal/test/manual/Sound3DTest.java @@ -64,8 +64,8 @@ public class Sound3DTest { // create the initial context - this can be collapsed into the init. final Device device = AudioSystem3D.openDevice(null); - final Context context = new Context(device); - if( !context.makeCurrent() ) { + final Context context = new Context(device, null); + if( !context.makeCurrent(false) ) { System.err.println("Context.makeCurrent() failed"); return; } |