From 2492d76896f9cb991760c408bcce7b1c79049979 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 4 Mar 2022 13:19:00 -0800 Subject: Ensure deferred EAX effect properties are committed --- al/effects/distortion.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'al/effects/distortion.cpp') diff --git a/al/effects/distortion.cpp b/al/effects/distortion.cpp index 4554901c..0f4b6ed5 100644 --- a/al/effects/distortion.cpp +++ b/al/effects/distortion.cpp @@ -148,6 +148,8 @@ public: bool dispatch( const EaxEaxCall& eax_call) override; + // [[nodiscard]] + bool apply_deferred() override; private: EAXDISTORTIONPROPERTIES eax_{}; @@ -233,9 +235,6 @@ private: const EaxEaxCall& eax_call); - // [[nodiscard]] - bool apply_deferred(); - // [[nodiscard]] bool set( const EaxEaxCall& eax_call); -- cgit v1.2.3