mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 22:45:50 +00:00
Fixed Brian's bugs
This commit is contained in:
parent
5ac3ea26e8
commit
f08389fdd2
4 changed files with 46 additions and 48 deletions
|
|
@ -298,6 +298,10 @@ public class ALTest extends BasicTest {
|
|||
// Initialize Open AL manually
|
||||
//Open device
|
||||
device = alc.openDevice(null);
|
||||
if (device == null) {
|
||||
System.out.println("Could not create ALC device");
|
||||
System.exit(-1);
|
||||
}
|
||||
//Create context(s)
|
||||
context = alc.createContext(device, 0);
|
||||
//Set active context
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue