aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-28 19:29:20 -0800
committerChris Robinson <[email protected]>2018-11-28 19:29:20 -0800
commit5df89c504e875fc956567a357dff2611772a95c0 (patch)
tree5f382a0a895228c2a8cfa6921cdaafadd9a7fb37 /Alc/alc.cpp
parent38f4a0cf2c7ffc359f88594a7728b275f7158636 (diff)
Remove an improper Connected check
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r--Alc/alc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp
index 8a4407aa..aa786244 100644
--- a/Alc/alc.cpp
+++ b/Alc/alc.cpp
@@ -4380,7 +4380,7 @@ ALC_API ALCboolean ALC_APIENTRY alcResetDeviceSOFT(ALCdevice *device, const ALCi
{
std::unique_lock<std::recursive_mutex> listlock{ListLock};
DeviceRef dev{VerifyDevice(device)};
- if(!dev || dev->Type == Capture || !dev->Connected.load(std::memory_order_relaxed))
+ if(!dev || dev->Type == Capture)
{
listlock.unlock();
alcSetError(dev.get(), ALC_INVALID_DEVICE);