mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-18 07:45:09 +02:00
e6be835038
This is in preparation of replacing SDL_image with direct use of libpng.
9 lines
128 B
C++
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());
|
|
}
|