parent
803c5391a5
commit
6fa36c3432
|
@ -55,7 +55,7 @@ public abstract class BasicTest {
|
|||
try {
|
||||
AL.create();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
System.out.println("Unable to create OpenAL.\nPlease make sure that OpenAL is available on this system.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -64,8 +64,10 @@ public abstract class BasicTest {
|
|||
* Shutdowns OpenAL
|
||||
*/
|
||||
protected void alExit() {
|
||||
if(AL.isCreated()) {
|
||||
AL.destroy();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates an integer buffer to hold specified ints
|
||||
|
|
Loading…
Reference in New Issue