mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
fix: create default device, instead of "" device (which creates a waveout device!)
This commit is contained in:
parent
bb9a6f85b2
commit
03cef5303a
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ public abstract class BasicTest {
|
|||
protected void alInitialize() {
|
||||
|
||||
//get default device
|
||||
device = alc.openDevice("");
|
||||
device = alc.openDevice(null);
|
||||
if(device == null) {
|
||||
throw new RuntimeException("Error creating device");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue