diff options
author | Chris Robinson <[email protected]> | 2013-05-21 07:24:53 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-05-21 07:24:53 -0700 |
commit | af1936be5dd4724367bfb7a90965f8769aa4f705 (patch) | |
tree | d42b1fba201fcc21c4e9ac4e8cb86f12b7dfbcbc /OpenAL32 | |
parent | e4186f49039a17916dedaa536143761d0a6caa87 (diff) |
Remove some unused code
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alAuxEffectSlot.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h index ed0d1887..547e7040 100644 --- a/OpenAL32/Include/alAuxEffectSlot.h +++ b/OpenAL32/Include/alAuxEffectSlot.h @@ -39,11 +39,8 @@ static const struct ALeffectStateVtable T##_ALeffectState_vtable = { \ T##_ALeffectState_Process \ } -#define SET_VTABLE1(T1, obj) ((obj)->vtbl = &(T1##_vtable)) -#define SET_VTABLE2(T1, T2, obj) do { \ - STATIC_CAST(T2, (obj))->vtbl = &(T1##_##T2##_vtable); \ - /*SET_VTABLE1(T1, obj);*/ \ -} while(0) +#define SET_VTABLE1(T1, obj) ((obj)->vtbl = &(T1##_vtable)) +#define SET_VTABLE2(T1, T2, obj) SET_VTABLE1(T1##_##T2, STATIC_CAST(T2, (obj))) struct ALeffectslot |