Added SDL_GetPixelFormatFromGPUTextureFormat() and SDL_GetGPUTextureFormatFromPixelFormat()

Fixes https://github.com/libsdl-org/SDL/issues/13899
This commit is contained in:
Sam Lantinga
2025-09-07 21:15:51 -07:00
parent d3a6be9607
commit 035eed351c
6 changed files with 93 additions and 59 deletions

View File

@@ -1280,3 +1280,5 @@
#define SDL_PutAudioStreamDataNoCopy SDL_PutAudioStreamDataNoCopy_REAL
#define SDL_AddAtomicU32 SDL_AddAtomicU32_REAL
#define SDL_hid_get_properties SDL_hid_get_properties_REAL
#define SDL_GetPixelFormatFromGPUTextureFormat SDL_GetPixelFormatFromGPUTextureFormat_REAL
#define SDL_GetGPUTextureFormatFromPixelFormat SDL_GetGPUTextureFormatFromPixelFormat_REAL