Remove redundant casts
This commit is contained in:
1 parent
2e346d7166
commit
c70f54e28b
22 files changed
+85
-85
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user