Dont try to load 'white' material

This commit is contained in:
Federico Cecchetto 2022-03-16 01:56:00 +01:00
parent cd32031d0b
commit 72bfe9c40b

View File

@ -97,6 +97,11 @@ namespace materials
game::Material* try_load_material(const std::string& name)
{
if (name == "white")
{
return nullptr;
}
try
{
return load_material(name);