EEVEE: Remove unnecessary material optimization assertion.
Fix unreported assert in basic scenes. Authored by Apple: Michael Parkin-White Pull Request #104775
This commit is contained in:
@@ -754,7 +754,6 @@ bool GPU_material_optimization_ready(GPUMaterial *mat)
|
||||
|
||||
void GPU_material_set_default(GPUMaterial *material, GPUMaterial *default_material)
|
||||
{
|
||||
BLI_assert(material != default_material);
|
||||
if (material != default_material) {
|
||||
material->default_mat = default_material;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user