diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-05 15:49:59 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-05 15:49:59 +0100 |
commit | a47b981c2254e1d49f58ebd4244c1be4624ba998 (patch) | |
tree | d5ca1f37f0e2d93f241721b13abacc5123bfe92a /src/crepe/SDLContext.cpp | |
parent | 5f75bdbf3d38c94baeae52f4c4889f147ec6885e (diff) |
remove util and api namespaces
Diffstat (limited to 'src/crepe/SDLContext.cpp')
-rw-r--r-- | src/crepe/SDLContext.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crepe/SDLContext.cpp b/src/crepe/SDLContext.cpp index 8bc5bc6..e61faa3 100644 --- a/src/crepe/SDLContext.cpp +++ b/src/crepe/SDLContext.cpp @@ -89,8 +89,7 @@ SDLContext::SDLContext() { void SDLContext::present_screen() { SDL_RenderPresent(this->game_renderer); } -void SDLContext::draw(const api::Sprite & sprite, - const api::Transform & transform) { +void SDLContext::draw(const Sprite & sprite, const Transform & transform) { static SDL_RendererFlip render_flip = (SDL_RendererFlip) ((SDL_FLIP_HORIZONTAL * sprite.flip.flip_x) |