summaryrefslogtreecommitdiffhomepage
path: root/src/config.h
diff options
context:
space:
mode:
authorRay <[email protected]>2018-09-17 16:56:02 +0200
committerRay <[email protected]>2018-09-17 16:56:02 +0200
commitec5c9686b3afef5fb2c147fc9786b6890c025dd9 (patch)
tree3cf23b81c4cf04d54c7c580c8d085c1185572ee7 /src/config.h
parent3a1a4895454f33bea4c33a294050a88cf76d78f4 (diff)
downloadraylib-ec5c9686b3afef5fb2c147fc9786b6890c025dd9.tar.gz
raylib-ec5c9686b3afef5fb2c147fc9786b6890c025dd9.zip
Improved data export capabilities!
REVIEWED: ExportImage() REVIEWED: ExportMesh() ADDED: ExportWave() REMOVED: Internal funcs: SavePNG(), SaveBMP() NOTE: These changes break the API (parameters order)
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/config.h b/src/config.h
index 317df46b..9bb5ab22 100644
--- a/src/config.h
+++ b/src/config.h
@@ -86,6 +86,8 @@
//#define SUPPORT_FILEFORMAT_PKM 1
//#define SUPPORT_FILEFORMAT_PVR 1
+// Support image export functionality (.png, .bmp, .tga, .jpg)
+#define SUPPORT_IMAGE_EXPORT
// Support multiple image editing functions to scale, adjust colors, flip, draw on images, crop...
// If not defined only three image editing functions supported: ImageFormat(), ImageAlphaMask(), ImageToPOT()
#define SUPPORT_IMAGE_MANIPULATION 1
@@ -133,10 +135,6 @@
// Show TraceLog() output messages
// NOTE: By default LOG_DEBUG traces not shown
#define SUPPORT_TRACELOG 1
-// Support saving image data fileformats
-// NOTE: Requires stb_image_write library
-#define SUPPORT_SAVE_PNG 1
-//#define SUPPORT_SAVE_BMP 1
#endif //defined(RAYLIB_CMAKE)