From 6744952e310e828ea29adeabd58b281cf2172c2f Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 25 Nov 2021 23:52:10 +0000 Subject: Include stb directly --- gfx/image.cpp | 2 +- gfx/models/stb_image.cpp | 2 +- gfx/models/texture.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'gfx') diff --git a/gfx/image.cpp b/gfx/image.cpp index 1fe2d31..41c59a2 100644 --- a/gfx/image.cpp +++ b/gfx/image.cpp @@ -1,6 +1,6 @@ #include "image.h" #include -#include +#include #include Image::Image(const char * fileName, int flags) : width {}, height {}, numComponents {} diff --git a/gfx/models/stb_image.cpp b/gfx/models/stb_image.cpp index 1daf279..c6b605e 100644 --- a/gfx/models/stb_image.cpp +++ b/gfx/models/stb_image.cpp @@ -5,5 +5,5 @@ # ifndef __clang__ # pragma GCC diagnostic ignored "-Wunused-but-set-variable" # endif -# include "stb_image.h" +# include "stb/stb_image.h" #endif diff --git a/gfx/models/texture.cpp b/gfx/models/texture.cpp index 342f890..898f495 100644 --- a/gfx/models/texture.cpp +++ b/gfx/models/texture.cpp @@ -1,8 +1,8 @@ #include "texture.h" -#include "stb_image.h" #include #include #include +#include Cache Texture::cachedTexture; -- cgit v1.2.3