diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 14:45:06 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 14:45:06 +0100 |
commit | 27bf7f7a6e2493b742f502b5da394a5a2d74cdd2 (patch) | |
tree | 9fa80537bf85ce3809217ddbedb889427165acd0 /src | |
parent | 6ba8f83d482b5b7ade4cf63293cb9625a7e91f55 (diff) |
make format
Diffstat (limited to 'src')
-rw-r--r-- | src/crepe/facade/SDLContext.cpp | 1 | ||||
-rw-r--r-- | src/crepe/facade/SDLContext.h | 4 |
2 files changed, 2 insertions, 3 deletions
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 <unordered_map> #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; |