From 9f360f66759e376bd468fa2bf47c28926d99be7c Mon Sep 17 00:00:00 2001 From: SirLynix Date: Tue, 28 Jun 2022 08:56:14 +0200 Subject: [PATCH] Graphics: Watch dev files in debug for changes --- src/Nazara/Graphics/Graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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