diff options
author | Chris Robinson <[email protected]> | 2018-12-12 19:24:06 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-12 19:24:06 -0800 |
commit | b37bc9f8b7c5ff5f25069ae307c0255ec4320458 (patch) | |
tree | f3c2b18ba125f760f3ea1b70ef824a658d212734 /router/alc.cpp | |
parent | 43f6a7c6267f85f4e2588467bfee12715874932b (diff) |
Fix an MSVC warning
Diffstat (limited to 'router/alc.cpp')
-rw-r--r-- | router/alc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/router/alc.cpp b/router/alc.cpp index c129198a..0f552523 100644 --- a/router/alc.cpp +++ b/router/alc.cpp @@ -707,7 +707,7 @@ ALC_API const ALCchar* ALC_APIENTRY alcGetString(ALCdevice *device, ALCenum para { auto drv = std::find_if(DriverList.cbegin(), DriverList.cend(), [](const DriverIface &drv) -> bool - { return drv.alcIsExtensionPresent(nullptr, "ALC_ENUMERATE_ALL_EXT"); } + { return drv.alcIsExtensionPresent(nullptr, "ALC_ENUMERATE_ALL_EXT") != ALC_FALSE; } ); if(drv != DriverList.cend()) return drv->alcGetString(nullptr, ALC_DEFAULT_ALL_DEVICES_SPECIFIER); |