diff options
author | Chris Robinson <[email protected]> | 2022-01-30 05:42:44 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-01-30 05:42:44 -0800 |
commit | 816bd8ab309dc0fe9afefcc5e3f2c294d3dc60a5 (patch) | |
tree | 75cf4b9c90bb3aa8d461b6a7dc417329bd2175d3 /al/buffer.h | |
parent | c9d59ebc4a2c3566d34759a901be639b5f932e30 (diff) |
Move ALSOFT_EAX definition to config.h
And disable it by default for non-Windows targets
Diffstat (limited to 'al/buffer.h')
-rw-r--r-- | al/buffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/al/buffer.h b/al/buffer.h index 0514d984..8c323bea 100644 --- a/al/buffer.h +++ b/al/buffer.h @@ -12,7 +12,7 @@ #include "core/buffer_storage.h" #include "vector.h" -#if ALSOFT_EAX +#ifdef ALSOFT_EAX #include "eax_x_ram.h" #endif // ALSOFT_EAX @@ -72,7 +72,7 @@ struct ALbuffer : public BufferStorage { DISABLE_ALLOC() -#if ALSOFT_EAX +#ifdef ALSOFT_EAX ALenum eax_x_ram_mode{AL_STORAGE_AUTOMATIC}; bool eax_x_ram_is_hardware{}; bool eax_x_ram_is_dirty{}; |