From dff8c63a5af46fd3b0115e10efe9f0b67e9111b8 Mon Sep 17 00:00:00 2001 From: heavydemon21 Date: Tue, 17 Dec 2024 13:59:19 +0100 Subject: make format --- src/crepe/facade/Font.cpp | 1 - src/crepe/facade/SDLContext.cpp | 1 - src/crepe/system/RenderSystem.h | 1 - 3 files changed, 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(); -- cgit v1.2.3