Commit 2fcd8f889caaefb5f7922da00268c863a1178d26

Cameron Cawley 2022-08-16T14:19:26

Handle SDL_PIXELFORMAT_EXTERNAL_OES in SDL_GetPixelFormatName()

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/video/SDL_pixels.c b/src/video/SDL_pixels.c
index 858ccba..1646d84 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";