Remove redundant casts

This commit is contained in:
Petar Popovic authored and Sam Lantinga committed 2025-02-21 10:09:10 -08:00
1 parent 2e346d7166
commit c70f54e28b
22 files changed
+85 -85

No files matched your search

+2 -2
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);