Dont try to load 'white' material
This commit is contained in:
parent
cd32031d0b
commit
72bfe9c40b
@ -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