diff options
| author | raysan5 <[email protected]> | 2014-09-16 22:51:31 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2014-09-16 22:51:31 +0200 |
| commit | fc6081fe70ab7c3b037c0ab9f38478904d3cdde2 (patch) | |
| tree | 6635fd800fa673ef3fb568c6f47ebc76a2b8ad6e /src/stb_image.h | |
| parent | 01651af08a494b1ac08c897695891ad7cf44ad47 (diff) | |
| download | raylib-fc6081fe70ab7c3b037c0ab9f38478904d3cdde2.tar.gz raylib-fc6081fe70ab7c3b037c0ab9f38478904d3cdde2.zip | |
raylib 1.2
This is a huge update. Check CHANGELOG for details
Diffstat (limited to 'src/stb_image.h')
| -rw-r--r-- | src/stb_image.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/stb_image.h b/src/stb_image.h index 900e0c20..0eeece13 100644 --- a/src/stb_image.h +++ b/src/stb_image.h @@ -183,7 +183,6 @@ // The three functions you must define are "read" (reads some bytes of data), // "skip" (skips some bytes of data), "eof" (reports if the stream is at the end). - #define STBI_NO_HDR // RaySan: not required by raylib #ifndef STBI_NO_STDIO @@ -195,6 +194,11 @@ #include <stdio.h> #endif +// NOTE: Added to work with raylib on Android +#if defined(PLATFORM_ANDROID) + #include "utils.h" // Android fopen function map +#endif + #define STBI_VERSION 1 enum |
