diff options
author | Chris Robinson <[email protected]> | 2018-01-23 14:33:30 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-01-23 14:33:30 -0800 |
commit | 2ac0adaebbc9b7378f1ec85d7495a044c7580239 (patch) | |
tree | 515d37223d3214e334ab45c3423922e586be1dfb /Alc | |
parent | 4ebb97bf737713b07642266ab54055f13dbd9833 (diff) |
Use a new proper buffer function with a flags parameter
Rather than hackily combining bit flags with the format, to increase the number
of potential flags. alBufferData now behaves as if calling alBufferStorageSOFT
with a flags value of 0.
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -283,8 +283,10 @@ static const struct { DECL(alGetStringiSOFT), + DECL(alBufferStorageSOFT), DECL(alMapBufferSOFT), DECL(alUnmapBufferSOFT), + DECL(alFlushMappedBufferSOFT), }; #undef DECL @@ -649,6 +651,8 @@ static const struct { DECL(AL_MAP_READ_BIT_SOFT), DECL(AL_MAP_WRITE_BIT_SOFT), + DECL(AL_MAP_PERSISTENT_BIT_SOFT), + DECL(AL_PRESERVE_DATA_BIT_SOFT), }; #undef DECL |