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,11 +10,6 @@ | ||
10 | static SDL_Renderer *renderer = NULL; | 10 | static SDL_Renderer *renderer = NULL; |
11 | static SDL_Window *window = NULL; | 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 | struct RGB { | 13 | struct RGB { |
19 | uint8_t r; | 14 | uint8_t r; |
20 | uint8_t g; | 15 | uint8_t g; |
testlib.c
@@ -5,7 +5,6 @@ | @@ -5,7 +5,6 @@ | ||
5 | int main(int argc, char *argv[]) { | 5 | int main(int argc, char *argv[]) { |
6 | if (gfx_init()) | 6 | if (gfx_init()) |
7 | exit(3); | 7 | exit(3); |
8 | - /* clear screen */ | ||
9 | for (int i = -99; i < 100; ++i) { | 8 | for (int i = -99; i < 100; ++i) { |
10 | gfx_filledRect(0, 0, gfx_screenWidth() - 1, gfx_screenHeight() - 1, BLACK); | 9 | gfx_filledRect(0, 0, gfx_screenWidth() - 1, gfx_screenHeight() - 1, BLACK); |
11 | gfx_filledCircle(gfx_screenWidth() / 2 + i, gfx_screenHeight() / 2, 100, YELLOW); | 10 | gfx_filledCircle(gfx_screenWidth() / 2 + i, gfx_screenHeight() / 2, 100, YELLOW); |