1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-07-04 20:40:44 +03:00
gmenu2x/src/imageio.h

13 lines
238 B
C
Raw Normal View History

#ifndef IMAGEIO_H
#define IMAGEIO_H
#include <string>
struct SDL_Surface;
/** Loads an image from a PNG file into a newly allocated 32bpp RGBA surface.
*/
SDL_Surface *loadPNG(const std::string &path, bool loadAlpha = true);
#endif