diff options
| author | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-05-12 19:04:01 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-05-12 19:04:01 +0200 |
| commit | a7f382b431e6eed3f180c71d4175970da096eab9 (patch) | |
| tree | 0099dba56efe2eb24d82481ed6ea5294e7b4bfb9 /src/external | |
| parent | d4dbb9333666a2a0c752ecee49b4f70b8e4c1371 (diff) | |
work
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) { |
