Browse Source

Revert "Changed SDL_GPU_TEXTUREFORMAT_INVALID to 0"

This reverts commit b51c6551d6ef256c535e9d570d71c97dfd9117c0.
Sam Lantinga 7 months ago
parent
commit
817f1b3da8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/SDL3/SDL_gpu.h

+ 1 - 1
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,