Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/windowing/StarGuiContext.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-21 19:46:23 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-21 19:46:23 +1000
commit8dce3349312927653b2ca7a33dcee0d2e6b69137 (patch)
treec2eb04711315d887c10c5ee649982ed37ea802dc /source/windowing/StarGuiContext.cpp
parentf2e64e17527f16966a37c788ca65e1e88bf44907 (diff)
custom fonts!!
Diffstat (limited to 'source/windowing/StarGuiContext.cpp')
-rw-r--r--source/windowing/StarGuiContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/windowing/StarGuiContext.cpp b/source/windowing/StarGuiContext.cpp
index 45d0806..21f44f9 100644
--- a/source/windowing/StarGuiContext.cpp
+++ b/source/windowing/StarGuiContext.cpp
@@ -45,7 +45,7 @@ void GuiContext::renderInit(RendererPtr renderer) {
auto textureGroup = m_renderer->createTextureGroup();
m_textureCollection = make_shared<AssetTextureGroup>(textureGroup);
m_drawablePainter = make_shared<DrawablePainter>(m_renderer, m_textureCollection);
- m_textPainter = make_shared<TextPainter>(Root::singleton().assets()->font("/hobo.ttf")->clone(), m_renderer, textureGroup);
+ m_textPainter = make_shared<TextPainter>(m_renderer, textureGroup);
}
MixerPtr const& GuiContext::mixer() const {