SDL: GPU: Fix unhandled R16G16_UNORM in SDL_GPUTextureFormatTexelBlockSize() (#10638)

From 0e08d15cca61f59341858f7f239d9bce3dc99f54 Mon Sep 17 00:00:00 2001
From: Andrei Alexeyev <[EMAIL REDACTED]>
Date: Sat, 31 Aug 2024 03:05:17 +0300
Subject: [PATCH] GPU: Fix unhandled R16G16_UNORM in
 SDL_GPUTextureFormatTexelBlockSize() (#10638)

---
 src/gpu/SDL_gpu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gpu/SDL_gpu.c b/src/gpu/SDL_gpu.c
index 32d41529f45df..183efb37c495a 100644
--- a/src/gpu/SDL_gpu.c
+++ b/src/gpu/SDL_gpu.c
@@ -532,6 +532,7 @@ Uint32 SDL_GPUTextureFormatTexelBlockSize(
     case SDL_GPU_TEXTUREFORMAT_R10G10B10A2_UNORM:
     case SDL_GPU_TEXTUREFORMAT_R8G8B8A8_UINT:
     case SDL_GPU_TEXTUREFORMAT_R16G16_UINT:
+    case SDL_GPU_TEXTUREFORMAT_R16G16_UNORM:
         return 4;
     case SDL_GPU_TEXTUREFORMAT_R16G16B16A16_FLOAT:
     case SDL_GPU_TEXTUREFORMAT_R16G16B16A16_UNORM: