From 58afdbeae6efd49cc9a9abd9daae52e1338e0326 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Thu, 11 Feb 2021 16:17:45 +0100 Subject: [PATCH] Re-add stb dependency in the new location --- .gitmodules | 3 +++ inferno/src/inferno/render/texture.cpp | 2 +- inferno/vendor/stb/stb | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 inferno/vendor/stb/stb 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