summaryrefslogtreecommitdiffstats
path: root/src/viewport.h
blob: 372a28524b82aaa850b507957d85341c3e9a2e6c (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 {
	int x;
	int y;
	int w;
	int h;
	SDL_Surface *screen;
};

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

#endif