Skip to content

Commit

Permalink
merian: Context: MSVC fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
LDAP committed Nov 7, 2024
1 parent c2b62d1 commit f8b1439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/merian/vk/context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit f8b1439

Please sign in to comment.