Graphics: Watch dev files in debug for changes
This commit is contained in:
parent
87012a4a52
commit
9f360f6675
|
|
@ -223,7 +223,7 @@ namespace Nz
|
||||||
#ifdef NAZARA_DEBUG
|
#ifdef NAZARA_DEBUG
|
||||||
// Override embed files with dev files in debug
|
// Override embed files with dev files in debug
|
||||||
if (std::filesystem::path modulePath = "../../src/Nazara/Graphics/Resources/Shaders"; std::filesystem::is_directory(modulePath))
|
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
|
#endif
|
||||||
|
|
||||||
// Let application register their own shaders
|
// Let application register their own shaders
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue