diff options
author | Sam Lantinga <slouken@libsdl.org> | 2016-10-11 23:19:05 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2016-10-11 23:19:05 -0700 |
commit | cac17821d9944d0411a3de4e9188f397353f67ba (patch) | |
tree | 8046080ab92c7d22549465c05b2623a6479bbccd /premake | |
parent | 48aafff08819fd2d5d290466a017c952625cb646 (diff) |
Fixed bug 2923 - Add SDL_PIXELFORMAT_RGBA32 for byte-wise 32bit RGBA data
Daniel Gibson
Ok, I followed the simple approach of just making SDL_PIXELFORMAT_RGBA32 an alias of SDL_PIXELFORMAT_RGBA8888/SDL_PIXELFORMAT_ABGR8888, depending on endianess. And I did the same for SDL_PIXELFORMAT_ARGB32, .._BGRA, .._ABGR.
SDL_GetPixelFormatName() will of course return SDL_PIXELFORMAT_RGBA8888 (or SDL_PIXELFORMAT_ABGR8888) instead of SDL_PIXELFORMAT_RGBA32, but as long as that's mentioned in the docs it shouldn't be a problem.
Diffstat (limited to 'premake')
0 files changed, 0 insertions, 0 deletions