summaryrefslogtreecommitdiffstats
path: root/src/resources/image.h
blob: b79f0cebfba4add216be33c7243b7e16604497a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef IMAGE_H
#define IMAGE_H

#include <SDL.h>
#include "resource.h"

struct image {
	struct resource res;
	SDL_Surface *image;
};

struct image *img_png_get(const char *path);
void img_png_free(struct image *image);

#endif