Trying ttf loading

This commit is contained in:
Dynamitos
2022-04-13 13:01:46 +02:00
parent bebfb94752
commit 3fec36295a
42 changed files with 563 additions and 549 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ void MaterialAsset::save()
void MaterialAsset::load()
{
setStatus(Status::Loading);
auto& stream = getReadStream();
auto stream = getReadStream();
json j;
stream >> j;
materialName = j["name"].get<std::string>();