From f8b14396b9dfb9a8c7bf36f797011b514837ff14 Mon Sep 17 00:00:00 2001 From: Lucas Alber Date: Thu, 7 Nov 2024 10:01:34 +0100 Subject: [PATCH] merian: Context: MSVC fixes --- src/merian/vk/context.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/merian/vk/context.cpp b/src/merian/vk/context.cpp index a9947b0..8d54356 100644 --- a/src/merian/vk/context.cpp +++ b/src/merian/vk/context.cpp @@ -542,10 +542,10 @@ void Context::prepare_shader_include_defines() { if (FileLoader::exists(development_headers / "merian-shaders")) { SPDLOG_DEBUG("found merian-shaders development headers headers at {}", development_headers.string()); - default_shader_include_paths.emplace_back(development_headers); + default_shader_include_paths.emplace_back(development_headers.string()); } else if (FileLoader::exists(installed_headers / "merian-shaders")) { SPDLOG_DEBUG("found merian-shaders installed at {}", installed_headers.string()); - default_shader_include_paths.emplace_back(installed_headers); + default_shader_include_paths.emplace_back(installed_headers.string()); } else { SPDLOG_ERROR("merian-shaders header not found! Shader compilers might not work correctly"); }