diff options
Diffstat (limited to 'src/external')
| -rw-r--r-- | src/external/stb_image.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/external/stb_image.h b/src/external/stb_image.h index a6202a3..7a2d751 100644 --- a/src/external/stb_image.h +++ b/src/external/stb_image.h @@ -1476,6 +1476,7 @@ stbi_inline static stbi_uc stbi__get8(stbi__context *s) return 0; } +#ifndef STBI_ONLY_PNG stbi_inline static int stbi__at_eof(stbi__context *s) { if (s->io.read) { @@ -1487,6 +1488,7 @@ stbi_inline static int stbi__at_eof(stbi__context *s) return s->img_buffer >= s->img_buffer_end; } +#endif static void stbi__skip(stbi__context *s, int n) { |
