diff options
Diffstat (limited to 'editor/editor.cpp')
| -rw-r--r-- | editor/editor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor.cpp b/editor/editor.cpp index b3d0f4a..5cb6a9d 100644 --- a/editor/editor.cpp +++ b/editor/editor.cpp @@ -716,6 +716,7 @@ void RecordImGuiEntityTypes() { } void GenerateMTSDF(const Asset *a) { + assert(PK_HAS_FLAG(a->type, PKE_ASSET_TYPE_FONT)); std::error_code e; std::filesystem::create_directory("./cache", e); if (msdfgen::FreetypeHandle *ft = msdfgen::initializeFreetype()) { |
