diff --git a/modules/ReplayInputView+/Text.cpp b/modules/ReplayInputView+/Text.cpp index bdc504f..e6fe0ca 100644 --- a/modules/ReplayInputView+/Text.cpp +++ b/modules/ReplayInputView+/Text.cpp @@ -133,6 +133,7 @@ class TextUnit { for (auto e = _textures.head(); e; e = e->next) { DrawSprite(e->data, _position.x + _offset.x, _position.y + _offset.y + font.Height * i++, 1024.0f, font.Height + 18.0f); } + ClearTextures(); } void LoadSettings(LPCSTR profilePath, LPCSTR sectionName, int defaultX, int defaultY, const SWRFONTDESC &font) { @@ -215,4 +216,4 @@ void OnDestruct(void *_this, int _, int dyn) { void LoadSettings(LPCSTR profilePath, LPCSTR section) { self.LoadSettings(profilePath, section); } -} // namespace text \ No newline at end of file +} // namespace text