diff options
| author | raysan5 <[email protected]> | 2017-03-19 12:52:58 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2017-03-19 12:52:58 +0100 |
| commit | 8f5ff64420dda659583c156b9c5e42e60384e247 (patch) | |
| tree | 2b0ee8a47d38a41cc105b6b79211b2873ca2b21c /src/utils.h | |
| parent | ca8c56561792a58d9b66fef668cf9d3a0fc4e876 (diff) | |
| download | raylib-8f5ff64420dda659583c156b9c5e42e60384e247.tar.gz raylib-8f5ff64420dda659583c156b9c5e42e60384e247.zip | |
Working on file header comments...
Diffstat (limited to 'src/utils.h')
| -rw-r--r-- | src/utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index 3ffd025c..037d7e94 100644 --- a/src/utils.h +++ b/src/utils.h @@ -33,6 +33,8 @@ #include "rres.h" +#define SUPPORT_SAVE_PNG + //---------------------------------------------------------------------------------- // Some basic Defines //---------------------------------------------------------------------------------- @@ -61,9 +63,13 @@ void TraceLog(int msgType, const char *text, ...); // Outputs a trace log messa const char *GetExtension(const char *fileName); // Returns extension of a filename #if defined(PLATFORM_DESKTOP) || defined(PLATFORM_RPI) +#if defined(SUPPORT_SAVE_BMP) void SaveBMP(const char *fileName, unsigned char *imgData, int width, int height, int compSize); +#endif +#if defined(SUPPORT_SAVE_PNG) void SavePNG(const char *fileName, unsigned char *imgData, int width, int height, int compSize); #endif +#endif #if defined(PLATFORM_ANDROID) void InitAssetManager(AAssetManager *manager); // Initialize asset manager from android app |
