From a7f382b431e6eed3f180c71d4175970da096eab9 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Tue, 12 May 2020 19:04:01 +0200 Subject: work --- src/external/stb_image.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/external/stb_image.h') 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) { -- cgit v1.2.3-70-g09d2