Root/src/imageio.h

Source at commit 73ceffa51d3450d2d20ce933e7fc6da187e09fc8 created 7 years 5 months ago.
By Maarten ter Huurne, Fix bug in section directory creation method
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, bool loadAlpha = true);
11
12#endif
13

Archive Download this file



interactive