diff options
author | Sam Lantinga <slouken@libsdl.org> | 2011-11-09 22:53:44 -0500 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2011-11-09 22:53:44 -0500 |
commit | 46a4af76c11f52b658c34c7087ef379d375db845 (patch) | |
tree | 6b32c8dbde32e34e9dc8636d64fd12fe3e8d1f34 /include | |
parent | 1840af6dc379fe3143f33ce882ab8ed8ab539ef9 (diff) |
GIMP wrote bmp files in RGBX format. Huh.
Diffstat (limited to 'include')
-rw-r--r-- | include/SDL_pixels.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/SDL_pixels.h b/include/SDL_pixels.h index ede9e292..5939d2c7 100644 --- a/include/SDL_pixels.h +++ b/include/SDL_pixels.h @@ -212,9 +212,15 @@ enum SDL_PIXELFORMAT_RGB888 = SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_XRGB, SDL_PACKEDLAYOUT_8888, 24, 4), + SDL_PIXELFORMAT_RGBX8888 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_RGBX, + SDL_PACKEDLAYOUT_8888, 24, 4), SDL_PIXELFORMAT_BGR888 = SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_XBGR, SDL_PACKEDLAYOUT_8888, 24, 4), + SDL_PIXELFORMAT_BGRX8888 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_BGRX, + SDL_PACKEDLAYOUT_8888, 24, 4), SDL_PIXELFORMAT_ARGB8888 = SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_ARGB, SDL_PACKEDLAYOUT_8888, 32, 4), |