diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-19 15:05:56 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-19 15:05:56 +0100 |
commit | 9633c6a8608175e9832f6995efc46023deebcf94 (patch) | |
tree | b9cf67af11dfffcf568d75167e630881eaaa1f97 /src/crepe/facade/SDLContext.cpp | |
parent | 6bd0dbeb6cd663f7d1044af9122e8f04e47fc13a (diff) |
removed absoluut position because file name, renamed functions in sdlcontext
Diffstat (limited to 'src/crepe/facade/SDLContext.cpp')
-rw-r--r-- | src/crepe/facade/SDLContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp index 642aef8..31b0a0b 100644 --- a/src/crepe/facade/SDLContext.cpp +++ b/src/crepe/facade/SDLContext.cpp @@ -24,11 +24,11 @@ #include "api/Transform.h" #include "facade/Font.h" #include "manager/Mediator.h" +#include "util/AbsolutePosition.h" #include "SDLContext.h" #include "Texture.h" #include "types.h" -#include "util/AbsoluutPosition.h" using namespace crepe; using namespace std; @@ -204,7 +204,7 @@ void SDLContext::draw_text(const RenderText & data) { const Text & text = data.text; const Font & font = data.font; - vec2 absoluut_pos = AbsoluutPosition::get_position(data.transform, data.text.offset); + vec2 absoluut_pos = AbsolutePosition::get_position(data.transform, data.text.offset); std::unique_ptr<SDL_Surface, std::function<void(SDL_Surface *)>> font_surface; std::unique_ptr<SDL_Texture, std::function<void(SDL_Texture *)>> font_texture; |