Skip to content

Commit

Permalink
Add missing SDL_GPU_TEXTUREFORMAT_R8_INT to SDL_GPUTextureFormatTexel…
Browse files Browse the repository at this point in the history
…BlockSize
  • Loading branch information
coffeechriph committed Feb 1, 2025
1 parent bc32641 commit 3257b0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gpu/SDL_gpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ Uint32 SDL_GPUTextureFormatTexelBlockSize(
case SDL_GPU_TEXTUREFORMAT_R8_SNORM:
case SDL_GPU_TEXTUREFORMAT_A8_UNORM:
case SDL_GPU_TEXTUREFORMAT_R8_UINT:
case SDL_GPU_TEXTUREFORMAT_R8_INT:
return 1;
case SDL_GPU_TEXTUREFORMAT_B5G6R5_UNORM:
case SDL_GPU_TEXTUREFORMAT_B4G4R4A4_UNORM:
Expand Down

0 comments on commit 3257b0f

Please sign in to comment.