From 2fcd8f889caaefb5f7922da00268c863a1178d26 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Tue, 16 Aug 2022 14:19:26 +0100 Subject: [PATCH] Handle SDL_PIXELFORMAT_EXTERNAL_OES in SDL_GetPixelFormatName() --- src/video/SDL_pixels.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video/SDL_pixels.c b/src/video/SDL_pixels.c index 858ccba7b..1646d844f 100644 --- a/src/video/SDL_pixels.c +++ b/src/video/SDL_pixels.c @@ -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";