aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-21 09:30:51 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-21 09:30:51 +0100
commite2f085c444a8b37af65816e10bf366e6860d25c2 (patch)
treecec8c3e5640f659478838534ad64b86502bc8e29 /src/crepe/facade
parent9d66b6cfccd15a1600c30af5e744e8b0710eeae6 (diff)
parent1cc120a0031cfc19c35240da8390d9129b4d75a3 (diff)
merge `master` into `loek/util`
Diffstat (limited to 'src/crepe/facade')
-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 d352ea6..00523a6 100644
--- a/src/crepe/facade/SDLContext.cpp
+++ b/src/crepe/facade/SDLContext.cpp
@@ -47,7 +47,8 @@ SDLContext::SDLContext() {
SDL_Renderer * tmp_renderer
= SDL_CreateRenderer(this->game_window.get(), -1, SDL_RENDERER_ACCELERATED);
if (!tmp_renderer) {
- throw runtime_error(format("SDLContext: SDL_CreateRenderer error: {}", SDL_GetError()));
+ throw runtime_error(
+ format("SDLContext: SDL_CreateRenderer error: {}", SDL_GetError()));
}
this->game_renderer
@@ -71,7 +72,6 @@ SDLContext::~SDLContext() {
IMG_Quit();
SDL_Quit();
}
-
void SDLContext::handle_events(bool & running) {
//TODO: wouter i need events
/*