1
0
mirror of https://github.com/luanti-org/minetestmapper.git synced 2025-10-07 06:15:20 +02:00

Initial work on using FreeImage

This commit is contained in:
sfan5
2016-12-05 12:40:27 +01:00
parent 02e40d268b
commit 75009ad49c
4 changed files with 40 additions and 43 deletions

View File

@@ -3,7 +3,7 @@
#include "types.h"
#include <string>
#include <gd.h>
#include <FreeImage.h>
struct Color {
Color() : r(0), g(0), b(0), a(0) {};
@@ -29,7 +29,7 @@ private:
Image(const Image&);
int m_width, m_height;
gdImagePtr m_image;
FIBITMAP *m_image;
};
#endif // IMAGE_HEADER