Dont try to load 'white' material
This commit is contained in:
parent
b905b76732
commit
e939edee75
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user