mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-04 21:14:43 +00:00
Removed short aliases for 16-bit pixel formats
These were potentially misleading in the same way the RGB888/BGR888 aliases were Fixes https://github.com/libsdl-org/SDL/issues/4994
This commit is contained in:
@@ -47,7 +47,7 @@ static Uint32 CoreMediaFormatToSDL(FourCharCode fmt)
|
||||
#define CASE(x, y) case x: return y
|
||||
// the 16LE ones should use 16BE if we're on a Bigendian system like PowerPC,
|
||||
// but at current time there is no bigendian Apple platform that has CoreMedia.
|
||||
CASE(kCMPixelFormat_16LE555, SDL_PIXELFORMAT_RGB555);
|
||||
CASE(kCMPixelFormat_16LE555, SDL_PIXELFORMAT_XRGB1555);
|
||||
CASE(kCMPixelFormat_16LE5551, SDL_PIXELFORMAT_RGBA5551);
|
||||
CASE(kCMPixelFormat_16LE565, SDL_PIXELFORMAT_RGB565);
|
||||
CASE(kCMPixelFormat_24RGB, SDL_PIXELFORMAT_RGB24);
|
||||
|
||||
Reference in New Issue
Block a user