diff options
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; |