Remove unwanted define

This commit is contained in:
Alexander van Gessel 2017-09-20 14:42:35 +02:00
parent 43fd345cdf
commit 61e8904995

View file

@ -7,16 +7,7 @@
* http://www.libpng.org/pub/png/src/libpng-LICENSE.txt
*/
#include <SDL_video.h>
/*
* Save an SDL_Surface as a PNG file.
*
* Returns 0 success or -1 on failure, the error message is then retrievable
* via SDL_GetError().
*/
#define SDL_SavePNG(surface, file) \
SDL_SavePNG_RW(surface, SDL_RWFromFile(file, "wb"), 1)
//
//TODO: filesystem::load_RWops is only for reading, would like a writing version also
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus