aboutsummaryrefslogtreecommitdiff
path: root/src/crepe
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-16 20:58:02 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-16 20:58:02 +0100
commitc0dc5f5d785cb4d0b0f5c05174c36fab9eef9cfb (patch)
tree48ac14b02bbe49d8c2fea7d5b2efd66e9d2180c1 /src/crepe
parentb5d37843f2aaae908f0151c249184eafee161e17 (diff)
rendersys
Diffstat (limited to 'src/crepe')
-rw-r--r--src/crepe/system/RenderSystem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/system/RenderSystem.cpp b/src/crepe/system/RenderSystem.cpp
index 7f00891..f2ed97d 100644
--- a/src/crepe/system/RenderSystem.cpp
+++ b/src/crepe/system/RenderSystem.cpp
@@ -81,9 +81,9 @@ void RenderSystem::render_text(){
RefVector<Text> texts = mgr.get_components_by_type<Text>();
- for (Text & text : texts) {
+ for (const Text & text : texts) {
if (!text.active) continue;
- resource_manager.get<Font>(text.font);
+ const Font & res = resource_manager.get<Font>(text.font);
//ctx.draw_text(text, font);
}