diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 13:36:17 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 13:36:17 +0100 |
commit | 0c02511f6a64766174cb0db3beb4cc159d3efdf7 (patch) | |
tree | 1ae713cfaad559aaae623f6e38639c2c10b1a158 /src/crepe/system | |
parent | 24578c9afb61ae65b300dd7fb645220e133089be (diff) |
merging wouter
Diffstat (limited to 'src/crepe/system')
-rw-r--r-- | src/crepe/system/RenderSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/system/RenderSystem.cpp b/src/crepe/system/RenderSystem.cpp index 7d6a31b..578a4c0 100644 --- a/src/crepe/system/RenderSystem.cpp +++ b/src/crepe/system/RenderSystem.cpp @@ -87,7 +87,7 @@ void RenderSystem::render_text(){ for (const Text & text : texts) { if (!text.active) continue; - const Font & res = resource_manager.get<Font>(text.font); + const Font & res = resource_manager.get<Font>(text.font.value()); ctx.draw_text(text, res); } |