aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxgpu/setdefdispenv.c
blob: 6dec49c0c87129892a1607e966b8b1057f6f195a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <psxgpu.h>

DISPENV *SetDefDispEnv(DISPENV *disp, int x, int y, int w, int h) {

	disp->disp.x = x;
	disp->disp.y = y;
	disp->disp.w = w;
	disp->disp.h = h;

	disp->screen.x = 0;
	disp->screen.y = 0;
	disp->screen.w = 0;
	disp->screen.h = 0;

	disp->isinter = 0;
	disp->isrgb24 = 0;
	disp->reverse = 0;

	return disp;

}