summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exynos/exynos_fimg2d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exynos/exynos_fimg2d.c b/exynos/exynos_fimg2d.c
index a5659101..fc281b6e 100644
--- a/exynos/exynos_fimg2d.c
+++ b/exynos/exynos_fimg2d.c
@@ -451,7 +451,7 @@ int g2d_copy_with_scale(struct g2d_context *ctx, struct g2d_image *src,
else {
scale = 1;
scale_x = (double)src_w / (double)dst_w;
- scale_y = (double)src_w / (double)dst_h;
+ scale_y = (double)src_h / (double)dst_h;
}
if (src_x + src_w > src->width)