mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-01 09:27:39 +00:00
Remove redundant casts
This commit is contained in:
parent
2e346d7166
commit
c70f54e28b
22 changed files with 85 additions and 85 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue