Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion modules/ReplayInputView+/Text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -215,4 +216,4 @@ void OnDestruct(void *_this, int _, int dyn) {
void LoadSettings(LPCSTR profilePath, LPCSTR section) {
self.LoadSettings(profilePath, section);
}
} // namespace text
} // namespace text