mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-08 16:04:39 +00:00
Added LWJGLErrorException to replace the too general Exception
This commit is contained in:
parent
021e03eea5
commit
63b33930b1
14 changed files with 197 additions and 181 deletions
|
|
@ -35,6 +35,7 @@ import java.nio.Buffer;
|
|||
import java.nio.IntBuffer;
|
||||
|
||||
import org.lwjgl.Sys;
|
||||
import org.lwjgl.LWJGLErrorException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
|
|
@ -158,9 +159,9 @@ public class ALC {
|
|||
/**
|
||||
* Creates the ALC instance
|
||||
*
|
||||
* @throws Exception if a failiure occured in the ALC creation process
|
||||
* @throws LWJGLErrorException if a failiure occured in the ALC creation process
|
||||
*/
|
||||
protected static void create() throws OpenALException {
|
||||
protected static void create() throws LWJGLErrorException {
|
||||
if (created) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue