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/autowah.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'al/effects/autowah.cpp') diff --git a/al/effects/autowah.cpp b/al/effects/autowah.cpp index 51f8fff6..6fa859ba 100644 --- a/al/effects/autowah.cpp +++ b/al/effects/autowah.cpp @@ -143,6 +143,8 @@ public: bool dispatch( const EaxEaxCall& eax_call) override; + // [[nodiscard]] + bool apply_deferred() override; private: EAXAUTOWAHPROPERTIES eax_{}; @@ -216,9 +218,6 @@ private: void defer_all( const EaxEaxCall& eax_call); - // [[nodiscard]] - bool apply_deferred(); - // [[nodiscard]] bool set( const EaxEaxCall& eax_call); -- cgit v1.2.3