Root/src/imageio.h

1#ifndef IMAGEIO_H
2#define IMAGEIO_H
3
4#include <string>
5
6struct SDL_Surface;
7
8/** Loads an image from a PNG file into a newly allocated 32bpp RGBA surface.
9  */
10SDL_Surface *loadPNG(const std::string &path);
11
12#endif
13

Archive Download this file



interactive