From c43d92899cadf380c5fe89d31863222517fe3b53 Mon Sep 17 00:00:00 2001 From: athomas Date: Mon, 16 Aug 2004 17:41:35 +0000 Subject: 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 --- src/native/eaxbind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/native/eaxbind.c') 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, -- cgit v1.2.3