Handle SDL_PIXELFORMAT_EXTERNAL_OES in SDL_GetPixelFormatName()

main
Cameron Cawley 2022-08-16 14:19:26 +01:00 committed by Sam Lantinga
parent 222f1a2693
commit 2fcd8f889c
1 changed files with 1 additions and 0 deletions

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";