diff options
author | Chris Robinson <[email protected]> | 2013-10-28 11:06:04 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-10-28 11:06:04 -0700 |
commit | 034935b2e16a5886377018de973e90490102ca90 (patch) | |
tree | ed163dea3eb8fcc9ed988573cd079ba4af642b72 /OpenAL32/alEffect.c | |
parent | c1cdd3095bf2334298b6965f5e4f49510a826bd6 (diff) |
Modify how VCALL is handled
Now instead of specifying the arguments as a third argument to the macro, like
VCALL(object,function,(arg1, arg2));
they are specified separately after the macro, like
VCALL(object,function)(arg1, arg2);
Also, VCALL_NOARGS has been removed in favor of VCALL0, which behaves like
above but expects an empty argument list (a separate macro is needed to work
around preprocessor limitations).
Diffstat (limited to 'OpenAL32/alEffect.c')
-rw-r--r-- | OpenAL32/alEffect.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenAL32/alEffect.c b/OpenAL32/alEffect.c index 7ed4e58e..550baaaa 100644 --- a/OpenAL32/alEffect.c +++ b/OpenAL32/alEffect.c @@ -164,7 +164,7 @@ AL_API ALvoid AL_APIENTRY alEffecti(ALuint effect, ALenum param, ALint value) else { /* Call the appropriate handler */ - VCALL(ALEffect,setParami,(Context, param, value)); + VCALL(ALEffect,setParami)(Context, param, value); } } @@ -193,7 +193,7 @@ AL_API ALvoid AL_APIENTRY alEffectiv(ALuint effect, ALenum param, const ALint *v else { /* Call the appropriate handler */ - VCALL(ALEffect,setParamiv,(Context, param, values)); + VCALL(ALEffect,setParamiv)(Context, param, values); } ALCcontext_DecRef(Context); @@ -214,7 +214,7 @@ AL_API ALvoid AL_APIENTRY alEffectf(ALuint effect, ALenum param, ALfloat value) else { /* Call the appropriate handler */ - VCALL(ALEffect,setParamf,(Context, param, value)); + VCALL(ALEffect,setParamf)(Context, param, value); } ALCcontext_DecRef(Context); @@ -235,7 +235,7 @@ AL_API ALvoid AL_APIENTRY alEffectfv(ALuint effect, ALenum param, const ALfloat else { /* Call the appropriate handler */ - VCALL(ALEffect,setParamfv,(Context, param, values)); + VCALL(ALEffect,setParamfv)(Context, param, values); } ALCcontext_DecRef(Context); @@ -260,7 +260,7 @@ AL_API ALvoid AL_APIENTRY alGetEffecti(ALuint effect, ALenum param, ALint *value else { /* Call the appropriate handler */ - VCALL(ALEffect,getParami,(Context, param, value)); + VCALL(ALEffect,getParami)(Context, param, value); } } @@ -289,7 +289,7 @@ AL_API ALvoid AL_APIENTRY alGetEffectiv(ALuint effect, ALenum param, ALint *valu else { /* Call the appropriate handler */ - VCALL(ALEffect,getParamiv,(Context, param, values)); + VCALL(ALEffect,getParamiv)(Context, param, values); } ALCcontext_DecRef(Context); @@ -310,7 +310,7 @@ AL_API ALvoid AL_APIENTRY alGetEffectf(ALuint effect, ALenum param, ALfloat *val else { /* Call the appropriate handler */ - VCALL(ALEffect,getParamf,(Context, param, value)); + VCALL(ALEffect,getParamf)(Context, param, value); } ALCcontext_DecRef(Context); @@ -331,7 +331,7 @@ AL_API ALvoid AL_APIENTRY alGetEffectfv(ALuint effect, ALenum param, ALfloat *va else { /* Call the appropriate handler */ - VCALL(ALEffect,getParamfv,(Context, param, values)); + VCALL(ALEffect,getParamfv)(Context, param, values); } ALCcontext_DecRef(Context); |