SDL_QueryTexture() fills in a pointer to SDL_PixelFormatEnum

This commit is contained in:
Sam Lantinga 2024-04-01 15:35:46 -07:00
parent aea44cff6b
commit a82ed82bc7
5 changed files with 12 additions and 12 deletions

View file

@ -1603,7 +1603,7 @@ SDL_PropertiesID SDL_GetTextureProperties(SDL_Texture *texture)
return texture->props;
}
int SDL_QueryTexture(SDL_Texture *texture, Uint32 *format, int *access, int *w, int *h)
int SDL_QueryTexture(SDL_Texture *texture, SDL_PixelFormatEnum *format, int *access, int *w, int *h)
{
CHECK_TEXTURE_MAGIC(texture, -1);