aboutsummaryrefslogtreecommitdiffstats
path: root/alc/context.h
diff options
context:
space:
mode:
authorChris Robinson <chris.kcat@gmail.com>2022-12-24 02:42:09 -0800
committerChris Robinson <chris.kcat@gmail.com>2022-12-24 02:42:09 -0800
commit4fe6eba8c79a4c9cad91d6f6835506cde96a48c4 (patch)
tree4f57bbdf4e5bdea34a4d0030ed8ad1bc876041fd /alc/context.h
parentf177f62e6737fff413361fae89db728c7e3a0cf9 (diff)
Avoid using a macro to set a context error and return
Diffstat (limited to 'alc/context.h')
-rw-r--r--alc/context.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/alc/context.h b/alc/context.h
index 448ae980..58a70184 100644
--- a/alc/context.h
+++ b/alc/context.h
@@ -514,12 +514,6 @@ private:
#endif // ALSOFT_EAX
};
-#define SETERR_RETURN(ctx, err, retval, ...) do { \
- (ctx)->setError((err), __VA_ARGS__); \
- return retval; \
-} while(0)
-
-
using ContextRef = al::intrusive_ptr<ALCcontext>;
ContextRef GetContextRef(void);