diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 13:31:34 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 13:31:34 +0100 |
commit | 24578c9afb61ae65b300dd7fb645220e133089be (patch) | |
tree | c6451ea01a56f0bde33a803ea37169f59d0fc41d /src/crepe/facade/Font.h | |
parent | bcaee968761c1d2e85c20925b237480c87da9747 (diff) | |
parent | 707db8c94b6bb3921105f40658aab13511d8df07 (diff) |
Merge branch 'wouter/text-component' into niels/UI
Diffstat (limited to 'src/crepe/facade/Font.h')
-rw-r--r-- | src/crepe/facade/Font.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/crepe/facade/Font.h b/src/crepe/facade/Font.h index 0b1768b..3eff3c6 100644 --- a/src/crepe/facade/Font.h +++ b/src/crepe/facade/Font.h @@ -25,7 +25,6 @@ public: * \param mediator The Mediator object used for managing the SDL context or related systems. */ Font(const Asset & src, Mediator & mediator); - /** * \brief Gets the underlying TTF_Font resource. * @@ -40,9 +39,7 @@ public: private: //! The SDL_ttf font object with custom deleter. - std::unique_ptr<TTF_Font, std::function<void(TTF_Font *)>> font; - - std::string path; + std::unique_ptr<TTF_Font, std::function<void(TTF_Font *)>> font = nullptr; }; } // namespace crepe |