aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLContext.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-12 21:26:03 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-12 21:26:03 +0100
commit5ef7c56e44a864e580810952450c43c0f9a7b6e0 (patch)
tree2a0faeaef514558b991832fbae63500f9f6e0228 /src/crepe/facade/SDLContext.cpp
parentf9f06f54dd1a66350afd42f6eec761565a4d3d77 (diff)
make format
Diffstat (limited to 'src/crepe/facade/SDLContext.cpp')
-rw-r--r--src/crepe/facade/SDLContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp
index 274c14a..cbb0f3b 100644
--- a/src/crepe/facade/SDLContext.cpp
+++ b/src/crepe/facade/SDLContext.cpp
@@ -32,8 +32,8 @@ using namespace std;
SDLContext::SDLContext(Mediator & mediator) {
dbg_trace();
if (TTF_Init() == -1) {
- throw runtime_error(format("SDL_ttf initialization failed: {}", TTF_GetError()));
- }
+ throw runtime_error(format("SDL_ttf initialization failed: {}", TTF_GetError()));
+ }
if (SDL_Init(SDL_INIT_VIDEO) != 0) {
throw runtime_error(format("SDLContext: SDL_Init error: {}", SDL_GetError()));
}