mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
log missing material texture errors
This commit is contained in:
@@ -149,6 +149,8 @@ void opengl_material::finalize(bool Loadnow)
|
||||
texture_handle handle = textures[entry.id];
|
||||
if (handle)
|
||||
GfxRenderer.Texture(handle).set_components_hint((GLint)entry.components);
|
||||
else
|
||||
log_error("missing texture: " + it.first);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user