aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/Font.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-17 14:44:48 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-17 14:44:48 +0100
commit4080a2eec207b35b36f7d0ceae7c2afcfcdfd977 (patch)
treedfb0f2df5f07719ff08c471853a30c388d211a9e /src/crepe/facade/Font.cpp
parent0ce74416985061dee60253221a77e6b06b4ed12b (diff)
small changes
Diffstat (limited to 'src/crepe/facade/Font.cpp')
-rw-r--r--src/crepe/facade/Font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/facade/Font.cpp b/src/crepe/facade/Font.cpp
index f202c05..771002f 100644
--- a/src/crepe/facade/Font.cpp
+++ b/src/crepe/facade/Font.cpp
@@ -9,7 +9,7 @@ using namespace std;
using namespace crepe;
Font::Font(const Asset & src, Mediator & mediator) : Resource(src, mediator) {
- Config & config = Config::get_instance();
+ const Config & config = Config::get_instance();
const std::string FONT_PATH = src.get_path();
TTF_Font * loaded_font = TTF_OpenFont(FONT_PATH.c_str(), config.font.size);
if (loaded_font == NULL) {