aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index f766f726..46673df1 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -2560,6 +2560,7 @@ ALC_API ALCdevice* ALC_APIENTRY alcLoopbackOpenDeviceSOFT(void)
}
//Validate device
+ device->Funcs = &BackendLoopback.Funcs;
device->Connected = ALC_TRUE;
device->IsCaptureDevice = AL_FALSE;
device->IsLoopbackDevice = AL_TRUE;
@@ -2604,7 +2605,6 @@ ALC_API ALCdevice* ALC_APIENTRY alcLoopbackOpenDeviceSOFT(void)
// Open the "backend"
LockLists();
- device->Funcs = &BackendLoopback.Funcs;
ALCdevice_OpenPlayback(device, "Loopback");
device->next = g_pDeviceList;