[DF-1995] Fix Material::PrepareRenderState signature