DevIL dynamic lib loading. Added some Mac and Linux code.
This commit is contained in:
parent
808da28ada
commit
f7e73b3ea7
|
@ -584,7 +584,9 @@
|
|||
</javah>
|
||||
<!-- lwjgl -->
|
||||
<javah classpath="${lwjgl.bin}" destdir="${lwjgl.src.headers}" force="yes">
|
||||
<class name="org.lwjgl.opengl.AWTGLCanvas" />
|
||||
<class name="org.lwjgl.opengl.AWTSurfaceLock" />
|
||||
<class name="org.lwjgl.Sys" />
|
||||
<class name="org.lwjgl.DefaultSysImplementation" />
|
||||
<class name="org.lwjgl.input.Cursor" />
|
||||
<class name="org.lwjgl.input.Keyboard" />
|
||||
|
|
|
@ -300,7 +300,7 @@ public class IL {
|
|||
public static final int IL_EOF = -1;
|
||||
|
||||
static {
|
||||
System.loadLibrary("DevIL");
|
||||
//System.loadLibrary("DevIL");
|
||||
System.loadLibrary("lwjgl-devil");
|
||||
}
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ public class ILU {
|
|||
// public static final int ILU_VENDOR = IL_VENDOR;
|
||||
|
||||
static {
|
||||
System.loadLibrary("ILU");
|
||||
// System.loadLibrary("ILU");
|
||||
System.loadLibrary("lwjgl-devil");
|
||||
}
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ public class ILUT {
|
|||
public static final int ILUT_OPENGL = 0;
|
||||
|
||||
static {
|
||||
System.loadLibrary("ILU");
|
||||
// System.loadLibrary("ILU");
|
||||
System.loadLibrary("lwjgl-devil");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue