diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-24 00:44:10 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-24 00:44:10 +0200 |
commit | f92770f74affa700abcec27f872b2627054f27b6 (patch) | |
tree | b4521738ec105fd8e2cdc0f6e3a21035c70eff43 /src/audio/sampman_oal.cpp | |
parent | Fix OAL crash (diff) | |
download | re3-f92770f74affa700abcec27f872b2627054f27b6.tar re3-f92770f74affa700abcec27f872b2627054f27b6.tar.gz re3-f92770f74affa700abcec27f872b2627054f27b6.tar.bz2 re3-f92770f74affa700abcec27f872b2627054f27b6.tar.lz re3-f92770f74affa700abcec27f872b2627054f27b6.tar.xz re3-f92770f74affa700abcec27f872b2627054f27b6.tar.zst re3-f92770f74affa700abcec27f872b2627054f27b6.zip |
Diffstat (limited to 'src/audio/sampman_oal.cpp')
-rw-r--r-- | src/audio/sampman_oal.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audio/sampman_oal.cpp b/src/audio/sampman_oal.cpp index f6f3a393..1952f370 100644 --- a/src/audio/sampman_oal.cpp +++ b/src/audio/sampman_oal.cpp @@ -174,10 +174,10 @@ add_providers() } if ( alGetEnumValue("AL_EFFECT_EAXREVERB") != 0 - || pDeviceList->IsExtensionSupported(i, "EAX2.0") - || pDeviceList->IsExtensionSupported(i, "EAX3.0") - || pDeviceList->IsExtensionSupported(i, "EAX4.0") - || pDeviceList->IsExtensionSupported(i, "EAX5.0") ) + || pDeviceList->IsExtensionSupported(i, ADEXT_EAX2) + || pDeviceList->IsExtensionSupported(i, ADEXT_EAX3) + || pDeviceList->IsExtensionSupported(i, ADEXT_EAX4) + || pDeviceList->IsExtensionSupported(i, ADEXT_EAX5) ) { if ( n < MAXPROVIDERS ) { |