Trying ttf loading

This commit is contained in:
Dynamitos committed 2022-04-13 13:01:46 +02:00
1 parent bebfb94752
commit 3fec36295a
42 files changed
+563 -549

No files matched your search

+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>();