Remove redundant casts

This commit is contained in:
Petar Popovic 2025-02-21 17:30:24 +01:00 committed by Sam Lantinga
parent 2e346d7166
commit c70f54e28b
22 changed files with 85 additions and 85 deletions

View file

@ -50,8 +50,8 @@ static void DrawChessBoard(void)
rect.w = (float)(darea.w / 8);
rect.h = (float)(darea.h / 8);
rect.x = (float)(x * rect.w);
rect.y = (float)(row * rect.h);
rect.x = x * rect.w;
rect.y = row * rect.h;
x = x + 2;
SDL_RenderFillRect(renderer, &rect);