aboutsummaryrefslogtreecommitdiff
path: root/apps/window.c
diff options
context:
space:
mode:
authorMarvin Borner2021-02-23 23:44:27 +0100
committerMarvin Borner2021-02-23 23:44:27 +0100
commite0100f6b98fc3b453d38024f579ead7cf84f581c (patch)
treed56e8f444a8b75dee38aacb659690495c995a9ec /apps/window.c
parentf4f7681d9fbe4c291b8ad2bdecdf5691b0a68d5f (diff)
You wouldn't believe how long this took to find
NASTY BUGS!
Diffstat (limited to 'apps/window.c')
-rw-r--r--apps/window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/window.c b/apps/window.c
index 5608ae3..f993ea4 100644
--- a/apps/window.c
+++ b/apps/window.c
@@ -8,7 +8,8 @@ int main()
{
struct gui_window win = { 0 };
assert(gui_new_window(&win) > 0);
- /* assert(gui_redraw_window(win.id) > 0); */
+ gfx_fill(win.ctx, COLOR_GREEN);
+ assert(gui_redraw_window(win.id) > 0);
log("%d\n", win.ctx->size.x);
return 0;
}