From 2ac0adaebbc9b7378f1ec85d7495a044c7580239 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 23 Jan 2018 14:33:30 -0800 Subject: 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. --- Alc/ALc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Alc/ALc.c') diff --git a/Alc/ALc.c b/Alc/ALc.c index dbdc2986..0d8bbe86 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -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 -- cgit v1.2.3