mirror of https://github.com/libsdl-org/SDL.git
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:
parent
1e9ff723ad
commit
b51c6551d6
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue