summaryrefslogtreecommitdiff
path: root/init.c
blob: f12f18a8879ced06efff2b5586639e6ac0a9bca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

#include "xenon.h"
#include "screen.h"
#include "render.h"
#include "damage.h"

extern int inhibit_rendering;

void __attribute__ ((constructor)) init()
{
	screen.width = 640;
	screen.height = 480;
	render_init(screen.width, screen.height);
	inhibit_rendering = 0;
	damage_clear();
}