diff --git a/.gitmodules b/.gitmodules index 8f80e1d..2eeafd5 100644 --- a/.gitmodules +++ b/.gitmodules @@ -16,3 +16,6 @@ [submodule "inferno/vendor/sol2"] path = inferno/vendor/sol2 url = https://github.com/ThePhD/sol2 +[submodule "inferno/vendor/stb/stb"] + path = inferno/vendor/stb/stb + url = https://github.com/nothings/stb diff --git a/inferno/src/inferno/render/texture.cpp b/inferno/src/inferno/render/texture.cpp index b346d39..d2157a2 100644 --- a/inferno/src/inferno/render/texture.cpp +++ b/inferno/src/inferno/render/texture.cpp @@ -4,7 +4,7 @@ #include "glad/glad.h" #define STB_IMAGE_IMPLEMENTATION -#include "stb_image.h" +#include "stb/stb_image.h" #include "inferno/assert.h" #include "inferno/render/texture.h" diff --git a/inferno/vendor/stb/stb b/inferno/vendor/stb/stb new file mode 160000 index 0000000..b42009b --- /dev/null +++ b/inferno/vendor/stb/stb @@ -0,0 +1 @@ +Subproject commit b42009b3b9d4ca35bc703f5310eedc74f584be58