Dont try to load 'white' material

This commit is contained in:
Federico Cecchetto 2022-03-16 01:56:00 +01:00
parent b905b76732
commit e939edee75

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);