Graphics: Move LightData to a shader module and add hotreload in debug

This commit is contained in:
Jérôme Leclercq
2022-03-12 16:53:36 +01:00
parent b92a9f8a1c
commit 2f26a1d9c7
6 changed files with 90 additions and 24 deletions

View File

@@ -49,7 +49,7 @@ namespace Nz
if (!shaderModule)
return {};
m_knownModules.emplace(fullPath, shaderModule);
m_knownModules.emplace(std::move(fullPath), shaderModule);
return shaderModule;
}