material serialization fixes

This commit is contained in:
Dynamitos
2023-04-09 16:39:53 +02:00
parent b79525c1a6
commit 96d5cf67cb
11 changed files with 75 additions and 33 deletions
+1
View File
@@ -26,5 +26,6 @@ void MaterialAsset::load(ArchiveBuffer& buffer)
{
material = new Material();
material->load(buffer);
material->compile();
}