aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/eaxbind.c
diff options
context:
space:
mode:
authorathomas <[email protected]>2004-08-16 17:41:35 +0000
committerathomas <[email protected]>2004-08-16 17:41:35 +0000
commitc43d92899cadf380c5fe89d31863222517fe3b53 (patch)
treef6e6b3a4a974cad63f64e5373331742a2e4749e2 /src/native/eaxbind.c
parentafbed7e52d283f5a98301b4e97d4e14f2b856835 (diff)
Issue 5
fixed incorrect reference in EAX binding git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@94 03bf7f67-59de-4072-a415-9a990d468a3f
Diffstat (limited to 'src/native/eaxbind.c')
-rw-r--r--src/native/eaxbind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/native/eaxbind.c b/src/native/eaxbind.c
index da1b285..b0d05e8 100644
--- a/src/native/eaxbind.c
+++ b/src/native/eaxbind.c
@@ -53,7 +53,7 @@ JNIEXPORT void JNICALL Java_net_java_games_joal_eax_EAX_EAXSet
#ifdef _WIN32
ALvoid* p = (ALvoid*)(*env)->GetDirectBufferAddress(env,buff);
- const GUID* guid = (gflag == 0 ? &DSPROPSETID_EAX20_ListenerProperties :
+ const GUID* guid = (gflag == 1 ? &DSPROPSETID_EAX20_ListenerProperties :
&DSPROPSETID_EAX20_BufferProperties);
eaxSet(guid,
(ALuint) pname,
@@ -73,7 +73,7 @@ JNIEXPORT void JNICALL Java_net_java_games_joal_eax_EAX_EAXGet
jint size) {
#ifdef _WIN32
ALvoid* p = (ALvoid*)(*env)->GetDirectBufferAddress(env,buff);
- const GUID* guid = (gflag == 0 ? &DSPROPSETID_EAX20_ListenerProperties :
+ const GUID* guid = (gflag == 1 ? &DSPROPSETID_EAX20_ListenerProperties :
&DSPROPSETID_EAX20_BufferProperties);
eaxGet(guid,
(ALuint) pname,