aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2007-05-11 20:33:53 +0000
committerCarsten Weisse <[email protected]>2007-05-11 20:33:53 +0000
commit59dd837defa2060ac02d5e213acc4f8be9af6a61 (patch)
treef76d058d4e873548a37f647899452456416e9586
parent3ebf1e8917160998765a2e16b46a474d5b1ef03f (diff)
update to lwjgl 1.1 (bugfix release)
-rw-r--r--lib/lwjgl/linux/liblwjgl.sobin249432 -> 217688 bytes
-rw-r--r--lib/lwjgl/linux/liblwjgl64.sobin262328 -> 269072 bytes
-rw-r--r--lib/lwjgl/lwjgl.jarbin498488 -> 529062 bytes
-rw-r--r--lib/lwjgl/lwjgl_util.jarbin62356 -> 62356 bytes
-rw-r--r--lib/lwjgl/osx/liblwjgl.jnilibbin398360 -> 409432 bytes
-rw-r--r--lib/lwjgl/windows/OpenAL32.dllbin81920 -> 161280 bytes
-rw-r--r--lib/lwjgl/windows/lwjgl.dllbin130048 -> 131584 bytes
-rw-r--r--src/jake2/sound/lwjgl/LWJGLSoundImpl.java11
8 files changed, 7 insertions, 4 deletions
diff --git a/lib/lwjgl/linux/liblwjgl.so b/lib/lwjgl/linux/liblwjgl.so
index 89a6935..e19d0dd 100644
--- a/lib/lwjgl/linux/liblwjgl.so
+++ b/lib/lwjgl/linux/liblwjgl.so
Binary files differ
diff --git a/lib/lwjgl/linux/liblwjgl64.so b/lib/lwjgl/linux/liblwjgl64.so
index 26fe623..56a6e20 100644
--- a/lib/lwjgl/linux/liblwjgl64.so
+++ b/lib/lwjgl/linux/liblwjgl64.so
Binary files differ
diff --git a/lib/lwjgl/lwjgl.jar b/lib/lwjgl/lwjgl.jar
index 190f9c1..7412fe6 100644
--- a/lib/lwjgl/lwjgl.jar
+++ b/lib/lwjgl/lwjgl.jar
Binary files differ
diff --git a/lib/lwjgl/lwjgl_util.jar b/lib/lwjgl/lwjgl_util.jar
index 423c994..ae648b8 100644
--- a/lib/lwjgl/lwjgl_util.jar
+++ b/lib/lwjgl/lwjgl_util.jar
Binary files differ
diff --git a/lib/lwjgl/osx/liblwjgl.jnilib b/lib/lwjgl/osx/liblwjgl.jnilib
index 0df1c8f..cc385b3 100644
--- a/lib/lwjgl/osx/liblwjgl.jnilib
+++ b/lib/lwjgl/osx/liblwjgl.jnilib
Binary files differ
diff --git a/lib/lwjgl/windows/OpenAL32.dll b/lib/lwjgl/windows/OpenAL32.dll
index 3fe0d89..6e212ab 100644
--- a/lib/lwjgl/windows/OpenAL32.dll
+++ b/lib/lwjgl/windows/OpenAL32.dll
Binary files differ
diff --git a/lib/lwjgl/windows/lwjgl.dll b/lib/lwjgl/windows/lwjgl.dll
index 84b9a97..65bf8e4 100644
--- a/lib/lwjgl/windows/lwjgl.dll
+++ b/lib/lwjgl/windows/lwjgl.dll
Binary files differ
diff --git a/src/jake2/sound/lwjgl/LWJGLSoundImpl.java b/src/jake2/sound/lwjgl/LWJGLSoundImpl.java
index 97270de..3a12494 100644
--- a/src/jake2/sound/lwjgl/LWJGLSoundImpl.java
+++ b/src/jake2/sound/lwjgl/LWJGLSoundImpl.java
@@ -2,19 +2,22 @@
* LWJGLSoundImpl.java
* Copyright (C) 2004
*
- * $Id: LWJGLSoundImpl.java,v 1.9 2006-10-26 22:02:55 cawe Exp $
+ * $Id: LWJGLSoundImpl.java,v 1.10 2007-05-11 20:33:53 cawe Exp $
*/
package jake2.sound.lwjgl;
import jake2.Defines;
import jake2.Globals;
-import jake2.game.*;
+import jake2.game.Cmd;
+import jake2.game.cvar_t;
+import jake2.game.entity_state_t;
import jake2.qcommon.*;
import jake2.sound.*;
import jake2.util.Lib;
import jake2.util.Vargs;
import java.nio.*;
+
import org.lwjgl.LWJGLException;
import org.lwjgl.openal.*;
@@ -102,12 +105,12 @@ public final class LWJGLSoundImpl implements Sound {
deviceName = "DirectSound3D";
}
- String defaultSpecifier = ALC.alcGetString(ALC.ALC_DEFAULT_DEVICE_SPECIFIER);
+ String defaultSpecifier = ALC10.alcGetString(AL.getDevice(), ALC10.ALC_DEFAULT_DEVICE_SPECIFIER);
Com.Printf(os + " using " + ((deviceName == null) ? defaultSpecifier : deviceName) + '\n');
// Check for an error.
- if (ALC.alcGetError() != ALC.ALC_NO_ERROR)
+ if (ALC10.alcGetError(AL.getDevice()) != ALC10.ALC_NO_ERROR)
{
Com.DPrintf("Error with SoundDevice");
}