Handle SDL_PIXELFORMAT_EXTERNAL_OES in SDL_GetPixelFormatName()

This commit is contained in:
Cameron Cawley 2022-08-16 14:19:26 +01:00 committed by Sam Lantinga
parent 222f1a2693
commit 2fcd8f889c

View file

@ -126,6 +126,7 @@ SDL_GetPixelFormatName(Uint32 format)
CASE(SDL_PIXELFORMAT_YVYU)
CASE(SDL_PIXELFORMAT_NV12)
CASE(SDL_PIXELFORMAT_NV21)
CASE(SDL_PIXELFORMAT_EXTERNAL_OES)
#undef CASE
default:
return "SDL_PIXELFORMAT_UNKNOWN";