diff options
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 |
