DevIL dynamic lib loading. Added some Mac and Linux code.

This commit is contained in:
Mark Bernard 2005-03-15 03:53:43 +00:00
parent 808da28ada
commit f7e73b3ea7
4 changed files with 5 additions and 3 deletions

View File

@ -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" />

View File

@ -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");
}

View File

@ -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");
}

View File

@ -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");
}