From 27bf7f7a6e2493b742f502b5da394a5a2d74cdd2 Mon Sep 17 00:00:00 2001 From: heavydemon21 Date: Tue, 17 Dec 2024 14:45:06 +0100 Subject: make format --- src/crepe/facade/SDLContext.cpp | 1 - src/crepe/facade/SDLContext.h | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/crepe/facade') diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp index 271b746..f368828 100644 --- a/src/crepe/facade/SDLContext.cpp +++ b/src/crepe/facade/SDLContext.cpp @@ -459,7 +459,6 @@ void SDLContext::handle_window_event(const SDL_WindowEvent & window_event, } } - void SDLContext::set_color_texture(const Texture & texture, const Color & color) { SDL_SetTextureColorMod(texture.get_img(), color.r, color.g, color.b); SDL_SetTextureAlphaMod(texture.get_img(), color.a); diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h index e9c334e..fc44f82 100644 --- a/src/crepe/facade/SDLContext.h +++ b/src/crepe/facade/SDLContext.h @@ -12,12 +12,12 @@ #include #include "../types.h" +#include "EventData.h" #include "api/Camera.h" #include "api/Color.h" #include "api/KeyCodes.h" #include "api/Sprite.h" #include "api/Transform.h" -#include "EventData.h" #include "FontFacade.h" @@ -72,7 +72,7 @@ public: const double & scale; }; - struct RenderText { + struct RenderText { const Text & text; const Font & font; const Transform & transform; -- cgit v1.2.3