mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-04 20:46:29 +03:00
Fix TextLayout Cache not invalidating during Engine destroy (this generated crashes in the unit-tests).
This commit is contained in:
@@ -48,6 +48,7 @@ class EE_API TextLayout {
|
||||
LineWrapMode lineWrapMode = LineWrapMode::NoWrap, Uint32 wrapWidth = 0,
|
||||
bool keepIndentation = false, Float initialXOffset = 0 );
|
||||
|
||||
static void clearLayoutCache();
|
||||
protected:
|
||||
static void wrapLayout( const String::View& string, TextLayout&, LineWrapMode lineWrapMode,
|
||||
Float wrapWidth, Float vspace, bool keepIndentation, Font* font,
|
||||
|
||||
Reference in New Issue
Block a user