diff options
| author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-18 21:19:28 +0100 | 
|---|---|---|
| committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-18 21:19:28 +0100 | 
| commit | f23eaa64df8b0ef27f58b1632c5e659fe3737153 (patch) | |
| tree | 2ffb3aed1c8af04cafbecdb46e987fad6b9a18ec /src/crepe/facade/SDLContext.cpp | |
| parent | d1f379b8f8b157f0ba4c95940e221fc58463d942 (diff) | |
implemented PR#35 feedback
Diffstat (limited to 'src/crepe/facade/SDLContext.cpp')
| -rw-r--r-- | src/crepe/facade/SDLContext.cpp | 3 | 
1 files changed, 0 insertions, 3 deletions
diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp index b56b5e7..4a0ac1a 100644 --- a/src/crepe/facade/SDLContext.cpp +++ b/src/crepe/facade/SDLContext.cpp @@ -118,8 +118,6 @@ void SDLContext::draw(const Sprite & sprite, const Transform & transform, const  		= (SDL_RendererFlip) ((SDL_FLIP_HORIZONTAL * sprite.flip.flip_x)  							  | (SDL_FLIP_VERTICAL * sprite.flip.flip_y)); -	sprite.sprite_image->texture.get(); -  	this->set_rbg_texture(sprite.sprite_image, sprite.color.r, sprite.color.g, sprite.color.b);  	this->set_alpha_texture(sprite.sprite_image, sprite.color.a); @@ -135,7 +133,6 @@ void SDLContext::draw(const Sprite & sprite, const Transform & transform, const  		.h = sprite.sprite_rect.h,  	}; -  	SDL_Rect dstrect = {  		.x = static_cast<int>(adjusted_x),  		.y = static_cast<int>(adjusted_y),  |