diff options
author | Carsten Weisse <[email protected]> | 2007-05-11 20:33:53 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2007-05-11 20:33:53 +0000 |
commit | 59dd837defa2060ac02d5e213acc4f8be9af6a61 (patch) | |
tree | f76d058d4e873548a37f647899452456416e9586 | |
parent | 3ebf1e8917160998765a2e16b46a474d5b1ef03f (diff) |
update to lwjgl 1.1 (bugfix release)
-rw-r--r-- | lib/lwjgl/linux/liblwjgl.so | bin | 249432 -> 217688 bytes | |||
-rw-r--r-- | lib/lwjgl/linux/liblwjgl64.so | bin | 262328 -> 269072 bytes | |||
-rw-r--r-- | lib/lwjgl/lwjgl.jar | bin | 498488 -> 529062 bytes | |||
-rw-r--r-- | lib/lwjgl/lwjgl_util.jar | bin | 62356 -> 62356 bytes | |||
-rw-r--r-- | lib/lwjgl/osx/liblwjgl.jnilib | bin | 398360 -> 409432 bytes | |||
-rw-r--r-- | lib/lwjgl/windows/OpenAL32.dll | bin | 81920 -> 161280 bytes | |||
-rw-r--r-- | lib/lwjgl/windows/lwjgl.dll | bin | 130048 -> 131584 bytes | |||
-rw-r--r-- | src/jake2/sound/lwjgl/LWJGLSoundImpl.java | 11 |
8 files changed, 7 insertions, 4 deletions
diff --git a/lib/lwjgl/linux/liblwjgl.so b/lib/lwjgl/linux/liblwjgl.so Binary files differindex 89a6935..e19d0dd 100644 --- a/lib/lwjgl/linux/liblwjgl.so +++ b/lib/lwjgl/linux/liblwjgl.so diff --git a/lib/lwjgl/linux/liblwjgl64.so b/lib/lwjgl/linux/liblwjgl64.so Binary files differindex 26fe623..56a6e20 100644 --- a/lib/lwjgl/linux/liblwjgl64.so +++ b/lib/lwjgl/linux/liblwjgl64.so diff --git a/lib/lwjgl/lwjgl.jar b/lib/lwjgl/lwjgl.jar Binary files differindex 190f9c1..7412fe6 100644 --- a/lib/lwjgl/lwjgl.jar +++ b/lib/lwjgl/lwjgl.jar diff --git a/lib/lwjgl/lwjgl_util.jar b/lib/lwjgl/lwjgl_util.jar Binary files differindex 423c994..ae648b8 100644 --- a/lib/lwjgl/lwjgl_util.jar +++ b/lib/lwjgl/lwjgl_util.jar diff --git a/lib/lwjgl/osx/liblwjgl.jnilib b/lib/lwjgl/osx/liblwjgl.jnilib Binary files differindex 0df1c8f..cc385b3 100644 --- a/lib/lwjgl/osx/liblwjgl.jnilib +++ b/lib/lwjgl/osx/liblwjgl.jnilib diff --git a/lib/lwjgl/windows/OpenAL32.dll b/lib/lwjgl/windows/OpenAL32.dll Binary files differindex 3fe0d89..6e212ab 100644 --- a/lib/lwjgl/windows/OpenAL32.dll +++ b/lib/lwjgl/windows/OpenAL32.dll diff --git a/lib/lwjgl/windows/lwjgl.dll b/lib/lwjgl/windows/lwjgl.dll Binary files differindex 84b9a97..65bf8e4 100644 --- a/lib/lwjgl/windows/lwjgl.dll +++ b/lib/lwjgl/windows/lwjgl.dll 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"); } |