aboutsummaryrefslogtreecommitdiff
path: root/apps/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/window.c')
-rw-r--r--apps/window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/window.c b/apps/window.c
index ac29ba1..90a414c 100644
--- a/apps/window.c
+++ b/apps/window.c
@@ -8,6 +8,9 @@ int main(void)
{
struct gui_window win = { 0 };
assert(gui_new_window(&win) > 0);
+ while (1)
+ ;
+#if 0
gfx_fill(win.ctx, COLOR_GREEN);
// Professional testing
for (int i = 0; i < 12; i++) {
@@ -16,5 +19,6 @@ int main(void)
}
assert(gui_redraw_window(win.id) > 0);
log("%d\n", win.ctx->size.x);
+#endif
return 0;
}