indent
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403357
This commit is contained in:
parent
4058b718a5
commit
8bf6fb5f47
1 changed files with 2 additions and 2 deletions
|
@ -66,8 +66,8 @@ DrawLines(SDL_WindowID window)
|
|||
if (i == 0) {
|
||||
SDL_RenderLine(0, 0, window_w, window_h);
|
||||
SDL_RenderLine(0, window_h, window_w, 0);
|
||||
SDL_RenderLine(0, window_h/2, window_w, window_h/2);
|
||||
SDL_RenderLine(window_w/2, 0, window_w/2, window_h);
|
||||
SDL_RenderLine(0, window_h / 2, window_w, window_h / 2);
|
||||
SDL_RenderLine(window_w / 2, 0, window_w / 2, window_h);
|
||||
} else {
|
||||
x1 = rand() % window_w;
|
||||
x2 = rand() % window_w;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue