diff options
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) |