From fc6081fe70ab7c3b037c0ab9f38478904d3cdde2 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Tue, 16 Sep 2014 22:51:31 +0200 Subject: raylib 1.2 This is a huge update. Check CHANGELOG for details --- src/stb_image.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/stb_image.h') 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 #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 -- cgit v1.2.3