aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alAuxEffectSlot.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-12-08 14:22:20 -0800
committerChris Robinson <[email protected]>2018-12-08 14:22:20 -0800
commitc9f5617f06503d951b3ed808cf07fb6362a7f8d1 (patch)
tree69fa576f29e7394aa76ebf08453c2d06d4bdbb6a /OpenAL32/alAuxEffectSlot.cpp
parentfc8da0c16b34a964c637c721ff944e8e6a5f3277 (diff)
Avoid several uses of memset
Diffstat (limited to 'OpenAL32/alAuxEffectSlot.cpp')
-rw-r--r--OpenAL32/alAuxEffectSlot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alAuxEffectSlot.cpp b/OpenAL32/alAuxEffectSlot.cpp
index ad33fe50..1e841c43 100644
--- a/OpenAL32/alAuxEffectSlot.cpp
+++ b/OpenAL32/alAuxEffectSlot.cpp
@@ -532,7 +532,7 @@ ALenum InitializeEffect(ALCcontext *Context, ALeffectslot *EffectSlot, ALeffect
if(!effect)
{
EffectSlot->Effect.Type = AL_EFFECT_NULL;
- memset(&EffectSlot->Effect.Props, 0, sizeof(EffectSlot->Effect.Props));
+ EffectSlot->Effect.Props = ALeffectProps{};
}
else
{