diff --git a/src/Nazara/Graphics/Graphics.cpp b/src/Nazara/Graphics/Graphics.cpp index 658b1333a..110c45d01 100644 --- a/src/Nazara/Graphics/Graphics.cpp +++ b/src/Nazara/Graphics/Graphics.cpp @@ -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