Commit 75b87b36d0929968999fd18b98eb23e3df4e42ab
1 parent
1c2c6e56
Removed misleading comments.
Showing
2 changed files
with
0 additions
and
6 deletions
primlib.c
... | ... | @@ -10,11 +10,6 @@ |
10 | 10 | static SDL_Renderer *renderer = NULL; |
11 | 11 | static SDL_Window *window = NULL; |
12 | 12 | |
13 | -// static Uint32 colors[COLOR_MAX] = {0xff000000, | |
14 | -// 0xff0000ff, 0xff00ff00, 0xffff0000, | |
15 | -// 0xffffff00, 0xffff00ff, 0xff00ffff, | |
16 | -// 0xffffffff}; | |
17 | - | |
18 | 13 | struct RGB { |
19 | 14 | uint8_t r; |
20 | 15 | uint8_t g; | ... | ... |
testlib.c
... | ... | @@ -5,7 +5,6 @@ |
5 | 5 | int main(int argc, char *argv[]) { |
6 | 6 | if (gfx_init()) |
7 | 7 | exit(3); |
8 | - /* clear screen */ | |
9 | 8 | for (int i = -99; i < 100; ++i) { |
10 | 9 | gfx_filledRect(0, 0, gfx_screenWidth() - 1, gfx_screenHeight() - 1, BLACK); |
11 | 10 | gfx_filledCircle(gfx_screenWidth() / 2 + i, gfx_screenHeight() / 2, 100, YELLOW); | ... | ... |