Graphics fixes

This commit is contained in:
Jérôme Leclercq
2021-04-17 14:45:14 +02:00
parent 5bdbb866b5
commit 8359d46711
2 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ namespace Nz
if (it == m_combinations.end())
{
ShaderWriter::States states;
states.enabledConditions = combination;
states.enabledOptions = combination;
std::shared_ptr<ShaderModule> stage = Graphics::Instance()->GetRenderDevice().InstantiateShaderModule(m_shaderStage, m_shaderAst, std::move(states));