mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Remove redundant casts
This commit is contained in:
parent
2e346d7166
commit
c70f54e28b
22 changed files with 85 additions and 85 deletions
|
|
@ -85,7 +85,7 @@ static void DrawOnViewport(SDL_Renderer *renderer)
|
|||
/* Add a box at the top */
|
||||
rect.w = 8.0f;
|
||||
rect.h = 8.0f;
|
||||
rect.x = (float)((viewport.w - rect.w) / 2);
|
||||
rect.x = (viewport.w - rect.w) / 2;
|
||||
rect.y = 0.0f;
|
||||
SDL_RenderFillRect(renderer, &rect);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue