Fix compilation
This commit is contained in:
parent
8e8bee7037
commit
2cc4944f58
|
|
@ -74,9 +74,11 @@ namespace Nz
|
|||
// TODO: Remove this when arrays are accepted as config values
|
||||
for (const auto& [optionHash, optionValue] : config.optionValues)
|
||||
{
|
||||
std::uint32_t hash = optionHash;
|
||||
|
||||
std::visit([&](auto&& arg)
|
||||
{
|
||||
states.optionValues[optionHash] = arg;
|
||||
states.optionValues[hash] = arg;
|
||||
}, optionValue);
|
||||
}
|
||||
states.shaderModuleResolver = Graphics::Instance()->GetShaderModuleResolver();
|
||||
|
|
|
|||
Loading…
Reference in New Issue