mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 11:28:15 +00:00
Changed SDL_GPU_TEXTUREFORMAT_INVALID to 0
This is more in line with SDL's convention and makes it easier to do zero-based structure initialization.
This commit is contained in:
@@ -384,7 +384,7 @@ typedef enum SDL_GPUIndexElementSize
|
||||
*/
|
||||
typedef enum SDL_GPUTextureFormat
|
||||
{
|
||||
SDL_GPU_TEXTUREFORMAT_INVALID = -1,
|
||||
SDL_GPU_TEXTUREFORMAT_INVALID = 0,
|
||||
|
||||
/* Unsigned Normalized Float Color Formats */
|
||||
SDL_GPU_TEXTUREFORMAT_A8_UNORM,
|
||||
|
Reference in New Issue
Block a user