From 817f1b3da81d875646f46962abd4adb132dd3f2d Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 10 Sep 2024 09:22:49 -0700
Subject: [PATCH] Revert "Changed SDL_GPU_TEXTUREFORMAT_INVALID to 0"
This reverts commit b51c6551d6ef256c535e9d570d71c97dfd9117c0.
---
include/SDL3/SDL_gpu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/SDL3/SDL_gpu.h b/include/SDL3/SDL_gpu.h
index 91788e516b606..ffbc51a9692b7 100644
--- a/include/SDL3/SDL_gpu.h
+++ b/include/SDL3/SDL_gpu.h
@@ -384,7 +384,7 @@ typedef enum SDL_GPUIndexElementSize
*/
typedef enum SDL_GPUTextureFormat
{
- SDL_GPU_TEXTUREFORMAT_INVALID = 0,
+ SDL_GPU_TEXTUREFORMAT_INVALID = -1,
/* Unsigned Normalized Float Color Formats */
SDL_GPU_TEXTUREFORMAT_A8_UNORM,