From e83c559b15702de5567ec56d90d06e63e42c038a Mon Sep 17 00:00:00 2001 From: Nobuyuki Date: Tue, 7 May 2024 09:41:50 +0900 Subject: [PATCH] ci fix for win --- task03/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/task03/main.cpp b/task03/main.cpp index f177ea5..7e62251 100644 --- a/task03/main.cpp +++ b/task03/main.cpp @@ -90,7 +90,7 @@ int main() { { // read texture image int bitdepth0; const auto input_tex_path = std::filesystem::path(PROJECT_SOURCE_DIR) / ".." / "asset" / "uv.png"; - unsigned char *ptr = stbi_load(input_tex_path.c_str(), &width_tex, &height_tex, &bitdepth0, 0); + unsigned char *ptr = stbi_load(input_tex_path.string().c_str(), &width_tex, &height_tex, &bitdepth0, 0); img_data_tex = std::vector(ptr, ptr + width_tex * height_tex * bitdepth0); free(ptr); }