diff options
author | Chris Robinson <[email protected]> | 2013-11-04 12:12:31 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-11-04 12:12:31 -0800 |
commit | 551f893ae910c2b1b72c0a22aeab1ede75d3e5ed (patch) | |
tree | 1f41eaee75fdfd0d9cc1e0bfff8bce3bd7039aba /OpenAL32/Include/alBuffer.h | |
parent | 692ab1085dd75c0ac696f3effe61bc9223181547 (diff) |
Use C99 inline semantics
Diffstat (limited to 'OpenAL32/Include/alBuffer.h')
-rw-r--r-- | OpenAL32/Include/alBuffer.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h index 358b3c9f..547768d6 100644 --- a/OpenAL32/Include/alBuffer.h +++ b/OpenAL32/Include/alBuffer.h @@ -35,8 +35,7 @@ enum UserFmtChannels { ALuint BytesFromUserFmt(enum UserFmtType type); ALuint ChannelsFromUserFmt(enum UserFmtChannels chans); -static inline ALuint FrameSizeFromUserFmt(enum UserFmtChannels chans, - enum UserFmtType type) +inline ALuint FrameSizeFromUserFmt(enum UserFmtChannels chans, enum UserFmtType type) { return ChannelsFromUserFmt(chans) * BytesFromUserFmt(type); } @@ -61,7 +60,7 @@ enum FmtChannels { ALuint BytesFromFmt(enum FmtType type); ALuint ChannelsFromFmt(enum FmtChannels chans); -static inline ALuint FrameSizeFromFmt(enum FmtChannels chans, enum FmtType type) +inline ALuint FrameSizeFromFmt(enum FmtChannels chans, enum FmtType type) { return ChannelsFromFmt(chans) * BytesFromFmt(type); } |