aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-20 09:49:40 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-20 09:49:40 +0100
commit69ca2bafcd617ac8af1b8f715f0c802205a60ab1 (patch)
tree3992cbd1b5a1d8cd0b94e23920365424f95d66ea /src/crepe/facade
parentf8019ae98fc7da1566779a3d567a9f0bbcfd7250 (diff)
fixes
Diffstat (limited to 'src/crepe/facade')
-rw-r--r--src/crepe/facade/SDLContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp
index 164d35e..2dae1e7 100644
--- a/src/crepe/facade/SDLContext.cpp
+++ b/src/crepe/facade/SDLContext.cpp
@@ -141,7 +141,7 @@ SDL_FRect SDLContext::get_dst_rect(const DestinationRectangleData & ctx) const {
= (ctx.sprite.aspect_ratio == 0) ? ctx.texture.get_ratio() : ctx.sprite.aspect_ratio;
vec2 size = data.size;
- vec2 screen_pos = ctx.pos + data.position_offset;
+ vec2 screen_pos = ctx.pos;
if (data.size.x == 0 && data.size.y != 0) {
size.x = data.size.y * aspect_ratio;