summaryrefslogtreecommitdiffstats
path: root/src/viewport.h
blob: f21c583e51607d9e16e6969acddc79bb2424c25c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef VIEWPORT_H
#define VIEWPORT_H

#include <SDL.h>

struct viewport {
	Sint16 x;
	Sint16 y;
	Uint16 w;
	Uint16 h;
	SDL_Surface *screen;
};

struct viewport *init_viewport(Uint16 width, Uint16 height, int bpp);

#endif