mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
always call ilInit since it can't be used without anyway
This commit is contained in:
parent
cb9e7b5dcf
commit
6fbe7f1501
1 changed files with 8 additions and 8 deletions
|
|
@ -50,7 +50,6 @@ public class IL {
|
|||
/** Have we been created? */
|
||||
protected static boolean created;
|
||||
|
||||
|
||||
public static final int IL_FALSE = 0;
|
||||
public static final int IL_TRUE = 1;
|
||||
|
||||
|
|
@ -298,7 +297,7 @@ public class IL {
|
|||
public static final int IL_EOF = -1;
|
||||
|
||||
static {
|
||||
System.loadLibrary("DevIL");
|
||||
System.loadLibrary("DevIL");
|
||||
System.loadLibrary("lwjgl-devil");
|
||||
}
|
||||
|
||||
|
|
@ -405,12 +404,13 @@ public class IL {
|
|||
/**
|
||||
*
|
||||
*/
|
||||
public static void create() throws LWJGLException {
|
||||
if (!created) {
|
||||
IL.initNativeStubs();
|
||||
created = true;
|
||||
}
|
||||
}
|
||||
public static void create() throws LWJGLException {
|
||||
if (!created) {
|
||||
IL.initNativeStubs();
|
||||
IL.ilInit();
|
||||
created = true;
|
||||
}
|
||||
}
|
||||
|
||||
// public static native boolean ilLoadData(const ILstring FileName, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp);
|
||||
// public static native boolean ilLoadDataF(ILHANDLE File, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue