diff options
Diffstat (limited to 'src/gui/window.c')
-rw-r--r-- | src/gui/window.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/window.c b/src/gui/window.c index 1859f58..e4eacea 100644 --- a/src/gui/window.c +++ b/src/gui/window.c | |||
@@ -1,11 +1,9 @@ | |||
1 | #include <stdlib.h> | ||
2 | #include <assert.h> | ||
3 | #include "gui/window.h" | 1 | #include "gui/window.h" |
4 | #include "MLV/MLV_all.h" | 2 | #include <assert.h> |
3 | #include <MLV/MLV_all.h> | ||
5 | #include "painter/rasterizer.h" | 4 | #include "painter/rasterizer.h" |
6 | #include "common/mem.h" | 5 | #include "common/mem.h" |
7 | 6 | ||
8 | |||
9 | Window *window_create(int width, int height, char *title) { | 7 | Window *window_create(int width, int height, char *title) { |
10 | assert(width > 0); | 8 | assert(width > 0); |
11 | assert(height > 0); | 9 | assert(height > 0); |
@@ -83,4 +81,4 @@ void window_rendering(Window *window, PictureFrame *pictureFrame1, Canvas *canva | |||
83 | } | 81 | } |
84 | mode = EXITING; | 82 | mode = EXITING; |
85 | MLV_wait_seconds(15); | 83 | MLV_wait_seconds(15); |
86 | } \ No newline at end of file | 84 | } |