aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/spritesheet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/spritesheet.cpp')
-rw-r--r--src/crepe/api/spritesheet.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/crepe/api/spritesheet.cpp b/src/crepe/api/spritesheet.cpp
index 93a2b65..7f5da38 100644
--- a/src/crepe/api/spritesheet.cpp
+++ b/src/crepe/api/spritesheet.cpp
@@ -30,12 +30,6 @@ void Spritesheet::select_sprite(const int x, const int y){
m_clip.y = y * m_clip.h;
}
-void Spritesheet::draw_selected_sprite(const int x, const int y){
- auto& ctx = SdlContext::get_instance();
- SDL_Rect tmp = { x, y, m_clip.w, m_clip.h};
- SDL_RenderCopy(ctx.m_game_renderer, this->m_spritesheet, &this->m_clip, &tmp);
-}
-
void Spritesheet::load(std::unique_ptr<api::Resource> res, const int row, const int col){
auto& ctx = SdlContext::get_instance();