Scene change support
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user