Fix compilation
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user