aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/Font.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-12 20:45:49 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-12 20:45:49 +0100
commit431d7cceb25db86f31a8c89440f3cdd2c7bf061f (patch)
treeeb32cf71b0f3fe369cd4509c54b8df960e2765e4 /src/crepe/facade/Font.cpp
parente75e355c3a59d53a1d64fd8fae3331b2234083e2 (diff)
load font almost working
Diffstat (limited to 'src/crepe/facade/Font.cpp')
-rw-r--r--src/crepe/facade/Font.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/facade/Font.cpp b/src/crepe/facade/Font.cpp
index b600b01..66835ee 100644
--- a/src/crepe/facade/Font.cpp
+++ b/src/crepe/facade/Font.cpp
@@ -23,6 +23,6 @@ Font::Font(std::unique_ptr<Asset> res){
this->load(std::move(res));
}
-const TTF_Font& Font::get_font() const{
- return this->font;
+TTF_Font* Font::get_font() const{
+ return this->font.get();
}