summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'gfx')
-rw-r--r--gfx/image.cpp2
-rw-r--r--gfx/models/stb_image.cpp2
-rw-r--r--gfx/models/texture.cpp2
3 files changed, 3 insertions, 3 deletions
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 <cstddef>
-#include <stb_image.h>
+#include <stb/stb_image.h>
#include <stdexcept>
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 <cache.h>
#include <gfx/image.h>
#include <resource.h>
+#include <stb/stb_image.h>
Cache<Texture> Texture::cachedTexture;