mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-08 07:54:05 +00:00
All classes use Sys.initialize now
This commit is contained in:
parent
c093f3ace1
commit
b98677fb47
14 changed files with 1285 additions and 1308 deletions
|
|
@ -34,6 +34,8 @@ package org.lwjgl.openal;
|
|||
import java.nio.Buffer;
|
||||
import java.nio.IntBuffer;
|
||||
|
||||
import org.lwjgl.Sys;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
|
|
@ -140,7 +142,7 @@ public class ALC {
|
|||
public static final int ALC_OUT_OF_MEMORY = 0xA005;
|
||||
|
||||
static {
|
||||
initialize();
|
||||
Sys.initialize();
|
||||
}
|
||||
|
||||
/** Creates a new instance of ALC */
|
||||
|
|
@ -153,13 +155,6 @@ public class ALC {
|
|||
protected static void init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Static initialization
|
||||
*/
|
||||
private static void initialize() {
|
||||
System.loadLibrary(org.lwjgl.Sys.getLibraryName());
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates the ALC instance
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue