diff options
author | kartofen <mladenovnasko0@gmail.com> | 2023-10-22 18:35:58 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2023-10-22 18:35:58 +0300 |
commit | 560f07e306da1906720ffc8a7de32069b8b7353e (patch) | |
tree | f2ec80f50bcac515515cb5d023b58d9dfdd7c6dc /src/main.c | |
parent | ff2497dc2c67d2b7df29b729c763b6e09c876d76 (diff) |
triangle!!!!!!!!!!
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -6,6 +6,7 @@ #include "common.h" // TODO: rename device.c/.h +// to graphics.c/.h window_t window; device_t device; @@ -24,8 +25,8 @@ int main(void) // populate window info struct window_info win_info = {0}; win_info.title = "Test App"; - win_info.w = 1200; - win_info.h = 800; + win_info.w = 640; + win_info.h = 480; // create window window = window_create(&win_info); @@ -69,6 +70,8 @@ int main(void) running = 0; break; } + + device_draw_frame(device); } ret = 0; |