mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-08-15 14:43:32 -07:00
parent
e64a138f92
commit
867bdf318b
1 changed files with 1 additions and 1 deletions
|
|
@ -390,7 +390,7 @@ void ModelRenderer::Render(
|
|||
|
||||
for (CModel* model : submissions)
|
||||
{
|
||||
const CMaterial material{model->GetMaterial()};
|
||||
const CMaterial& material{model->GetMaterial()};
|
||||
const CShaderDefines& defines{material.GetShaderDefines()};
|
||||
const CStrIntern shaderEffect{material.GetShaderEffect(materialPass)};
|
||||
SMRMaterialBucketKey key(shaderEffect, defines);
|
||||
|
|
|
|||
Loading…
Reference in a new issue