aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-11 18:18:54 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-11 18:18:54 +0100
commite7dc31dad155b7b623374d3bb0ffbb8a8f579d2a (patch)
treef6943c6bf697700b1e8dc9c41f5e30b47380be22 /src/crepe/facade
parent31a6448f8c97934dd9974758d9b5049650040bc7 (diff)
ran make format
Diffstat (limited to 'src/crepe/facade')
-rw-r--r--src/crepe/facade/SDLContext.cpp4
-rw-r--r--src/crepe/facade/SDLContext.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp
index 17ced0c..39d0d4d 100644
--- a/src/crepe/facade/SDLContext.cpp
+++ b/src/crepe/facade/SDLContext.cpp
@@ -191,6 +191,4 @@ int SDLContext::get_height(const Texture & ctx) const {
SDL_QueryTexture(ctx.texture.get(), NULL, NULL, NULL, &h);
return h;
}
-void SDLContext::delay(int ms) const{
- SDL_Delay(ms);
-}
+void SDLContext::delay(int ms) const { SDL_Delay(ms); }
diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h
index 6c57ef9..90147e0 100644
--- a/src/crepe/facade/SDLContext.h
+++ b/src/crepe/facade/SDLContext.h
@@ -74,6 +74,7 @@ private:
* \param ms Duration of the delay in milliseconds.
*/
void delay(int ms) const;
+
private:
/**
* \brief Constructs an SDLContext instance.