aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-18 18:45:45 -0800
committerChris Robinson <[email protected]>2018-11-18 18:45:45 -0800
commitbafcba7194c36eaf4fa1cb09b000170f8a138055 (patch)
tree5d81112305a2f920017bcf95a4a8221734eb2122 /OpenAL32
parentb10e7d08c34bc6d46aaf61ef2a0183e7841b75f3 (diff)
Use a std::string for the device name
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index a81d3f3d..66a7cfa3 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -593,7 +593,7 @@ struct ALCdevice_struct {
ALCenum LimiterState{ALC_DONT_CARE_SOFT};
- char *DeviceName{nullptr};
+ std::string DeviceName;
ATOMIC(ALCenum) LastError{ALC_NO_ERROR};