1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-18 07:45:09 +02:00
gmenu2x/src/imageio.cpp
Maarten ter Huurne e6be835038 Isolate all PNG loading in a separate source/header.
This is in preparation of replacing SDL_image with direct use of libpng.
2011-05-09 03:56:57 +02:00

9 lines
128 B
C++

#include "imageio.h"
#include <SDL_image.h>
SDL_Surface *loadPNG(const std::string &path)
{
return IMG_Load(path.c_str());
}