summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 5309f09..678db3a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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;