From b54bb388a3dbd92518beef4bda03df5854aad1a9 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 24 Apr 2021 08:28:13 -0700 Subject: Create a base the ALCdevice and ALCcontext structs A base that contains the API-agnostic data, with ALCdevice and ALCcontext being for AL-specific data. --- alc/panning.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alc/panning.cpp') diff --git a/alc/panning.cpp b/alc/panning.cpp index d385ecf0..39f4f4c3 100644 --- a/alc/panning.cpp +++ b/alc/panning.cpp @@ -1041,7 +1041,7 @@ no_hrtf: void aluInitEffectPanning(EffectSlot *slot, ALCcontext *context) { - ALCdevice *device{context->mDevice.get()}; + DeviceBase *device{context->mDevice}; const size_t count{AmbiChannelsFromOrder(device->mAmbiOrder)}; auto wetbuffer_iter = context->mWetBuffers.end(); -- cgit v1.2.3