mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-17 02:08:27 +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:
parent
1e9ff723ad
commit
b51c6551d6
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ typedef enum SDL_GPUIndexElementSize
|
||||||
*/
|
*/
|
||||||
typedef enum SDL_GPUTextureFormat
|
typedef enum SDL_GPUTextureFormat
|
||||||
{
|
{
|
||||||
SDL_GPU_TEXTUREFORMAT_INVALID = -1,
|
SDL_GPU_TEXTUREFORMAT_INVALID = 0,
|
||||||
|
|
||||||
/* Unsigned Normalized Float Color Formats */
|
/* Unsigned Normalized Float Color Formats */
|
||||||
SDL_GPU_TEXTUREFORMAT_A8_UNORM,
|
SDL_GPU_TEXTUREFORMAT_A8_UNORM,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue