summaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
authorStephane Marchesin <stephane.marchesin@gmail.com>2010-04-24 20:07:28 -0700
committerStephane Marchesin <stephane.marchesin@gmail.com>2010-04-24 20:07:28 -0700
commitfb3187afdc1d54638791e2ead5c28cb8e949cf2e (patch)
treea82d0634c39314f31d5798f683e41c3633e47087 /init.c
parent661eb5a9126e608b8e5cea3e6105728da3edd015 (diff)
Get some things kindof working.
Diffstat (limited to 'init.c')
-rw-r--r--init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.c b/init.c
index ad86034..8d03576 100644
--- a/init.c
+++ b/init.c
@@ -2,6 +2,7 @@
#include "xenon.h"
#include "screen.h"
#include "render.h"
+#include "damage.h"
int init_done = 0;
@@ -11,5 +12,6 @@ void __attribute__ ((constructor)) init()
screen.height = 480;
render_init(screen.width, screen.height);
init_done = 1;
+ damage_clear();
}