aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/opensl.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/opensl.c')
-rw-r--r--Alc/backends/opensl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/opensl.c b/Alc/backends/opensl.c
index 5ff60276..1240b2e8 100644
--- a/Alc/backends/opensl.c
+++ b/Alc/backends/opensl.c
@@ -231,7 +231,7 @@ static ALCenum opensl_open_playback(ALCdevice *Device, const ALCchar *deviceName
return ALC_INVALID_VALUE;
}
- Device->szDeviceName = strdup(deviceName);
+ Device->DeviceName = strdup(deviceName);
Device->ExtraData = data;
return ALC_NO_ERROR;