diff options
Diffstat (limited to 'src/crepe/facade/Font.cpp')
-rw-r--r-- | src/crepe/facade/Font.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crepe/facade/Font.cpp b/src/crepe/facade/Font.cpp index 85b0e13..a39af75 100644 --- a/src/crepe/facade/Font.cpp +++ b/src/crepe/facade/Font.cpp @@ -16,8 +16,7 @@ Font::Font(const Asset & src, Mediator & mediator) // Check if font loading failed if (!this->font) { - throw runtime_error(format("Failed to load font from path: {}" - ". SDL_ttf error: {}", + throw runtime_error(format("Failed to load font from path: {}. SDL_ttf error: {}", font_path, TTF_GetError())); } } |