Scene change support

This commit is contained in:
2023-06-30 07:33:22 -07:00
parent 282d999603
commit 29048234a7
32 changed files with 236 additions and 135 deletions

View File

@ -32,6 +32,8 @@ TrueTypeFaceTexture::TrueTypeFaceTexture(
assertUnreachable();
}
if(face->glyph->bitmap.width == 0 || face->glyph->bitmap.rows == 0) continue;
// Update the width and height
w = mathMax<size_t>(w, face->glyph->bitmap.width);
h += face->glyph->bitmap.rows;