aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 13:59:19 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 13:59:19 +0100
commitdff8c63a5af46fd3b0115e10efe9f0b67e9111b8 (patch)
treeefaededf0fe9b5098da49bc276d469a0be788142
parent8d3fd95ad8564740bb169f4e08bc085a232a4d83 (diff)
make format
-rw-r--r--src/crepe/facade/Font.cpp1
-rw-r--r--src/crepe/facade/SDLContext.cpp1
-rw-r--r--src/crepe/system/RenderSystem.h1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/crepe/facade/Font.cpp b/src/crepe/facade/Font.cpp
index 81a9e7a..4694f7c 100644
--- a/src/crepe/facade/Font.cpp
+++ b/src/crepe/facade/Font.cpp
@@ -21,4 +21,3 @@ Font::Font(const Asset & src, Mediator & mediator) : Resource(src, mediator) {
}
TTF_Font * Font::get_font() const { return this->font.get(); }
-
diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp
index 27f2cb3..41c6d21 100644
--- a/src/crepe/facade/SDLContext.cpp
+++ b/src/crepe/facade/SDLContext.cpp
@@ -311,7 +311,6 @@ void SDLContext::draw_text(const RenderText & data) {
* cam_aux_data.render_scale
- size / 2 + cam_aux_data.bar_size;
-
SDL_FRect dstrect{
.x = screen_pos.x,
.y = screen_pos.y,
diff --git a/src/crepe/system/RenderSystem.h b/src/crepe/system/RenderSystem.h
index 3476765..3aa846e 100644
--- a/src/crepe/system/RenderSystem.h
+++ b/src/crepe/system/RenderSystem.h
@@ -27,7 +27,6 @@ public:
void update() override;
private:
-
void render_text();
//! Clears the screen in preparation for rendering.
void clear_screen();