Fix various warnings when building in VC2022 (#6020)

This commit is contained in:
Jeffery Myers 2026-07-26 06:10:19 -07:00 • committed by GitHub
commit a18051fdd9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 47 additions and 47 deletions

View file

@ -82,8 +82,8 @@ int main(void)
if (IsTextureValid(collection[i].texture))
{
DrawTexturePro(collection[i].texture,
(Rectangle){0,0,collection[i].texture.width, collection[i].texture.height},
(Rectangle){collection[i].position.x,collection[i].position.y,collection[i].texture.width, collection[i].texture.height},
(Rectangle){0,0,(float)collection[i].texture.width, (float)collection[i].texture.height},
(Rectangle){collection[i].position.x,collection[i].position.y, (float)collection[i].texture.width, (float)collection[i].texture.height},
(Vector2){collection[i].texture.width*0.5f, collection[i].texture.height*0.5f},
0.0f, WHITE);
}