diff options
author | Chris Robinson <[email protected]> | 2019-03-22 11:52:55 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-03-22 11:52:55 -0700 |
commit | 979013512750f83954d786028f8a419408f490a1 (patch) | |
tree | ba7eecc812c580f00ac2011cf873bb0f6c1eb02a /OpenAL32/alAuxEffectSlot.cpp | |
parent | 8a1b1f4204cf6925c1be43a38739632ba7c29036 (diff) |
Add a new EffectStateFactory method to get the default properties
Diffstat (limited to 'OpenAL32/alAuxEffectSlot.cpp')
-rw-r--r-- | OpenAL32/alAuxEffectSlot.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenAL32/alAuxEffectSlot.cpp b/OpenAL32/alAuxEffectSlot.cpp index c6a2a213..c681579c 100644 --- a/OpenAL32/alAuxEffectSlot.cpp +++ b/OpenAL32/alAuxEffectSlot.cpp @@ -690,6 +690,10 @@ ALenum InitializeEffect(ALCcontext *Context, ALeffectslot *EffectSlot, ALeffect } +ALeffectProps EffectStateFactory::getDefaultProps() const +{ return ALeffectProps{}; } + + void EffectState::IncRef() noexcept { auto ref = IncrementRef(&mRef); |