aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLContext.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-30 15:22:17 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-30 15:22:17 +0100
commit4159c7187e17d6318e33d8a0c014ba042ae8261b (patch)
tree7653a3b933ee074eabeab8d47ebbd01c9da8ff12 /src/crepe/facade/SDLContext.h
parent7ae597ac9268e031927f94dd89c20ab6c034f5de (diff)
first version of new viewport floats without the use of sdl functions
Diffstat (limited to 'src/crepe/facade/SDLContext.h')
-rw-r--r--src/crepe/facade/SDLContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h
index 6030a6e..ead0c72 100644
--- a/src/crepe/facade/SDLContext.h
+++ b/src/crepe/facade/SDLContext.h
@@ -158,7 +158,7 @@ private:
* \param img_scale the image multiplier for increasing img size
* \return sdl rectangle to draw a dst image to draw on the screen
*/
- SDL_Rect get_dst_rect(const Sprite & sprite, const vec2 & pos, const Camera & cam,
+ SDL_FRect get_dst_rect(const Sprite & sprite, const vec2 & pos, const Camera & cam,
const vec2 & cam_pos, const double & img_scale) const;
private: