Graphics: Watch dev files in debug for changes

This commit is contained in:
SirLynix
2022-06-28 08:56:14 +02:00
parent 87012a4a52
commit 9f360f6675

View File

@@ -223,7 +223,7 @@ namespace Nz
#ifdef NAZARA_DEBUG
// Override embed files with dev files in debug
if (std::filesystem::path modulePath = "../../src/Nazara/Graphics/Resources/Shaders"; std::filesystem::is_directory(modulePath))
m_shaderModuleResolver->RegisterModuleDirectory(modulePath);
m_shaderModuleResolver->RegisterModuleDirectory(modulePath, true);
#endif
// Let application register their own shaders