diff options
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ + +#include "xenon.h" +#include "screen.h" +#include "render.h" + +int init_done = 0; + +void __attribute__ ((constructor)) init() +{ + screen.width = 640; + screen.height = 480; + render_init(screen.width, screen.height); + init_done = 1; +} + |