From 7a02d6e4ed9a897505ca96b725f64975dc7b3b53 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sat, 18 Mar 2017 19:46:32 +0300 Subject: [PATCH] gl: Fix vertical blit scaling factor --- rpcs3/Emu/RSX/GL/GLTextureCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/GL/GLTextureCache.h b/rpcs3/Emu/RSX/GL/GLTextureCache.h index 3234b61a0c..8e0f16853b 100644 --- a/rpcs3/Emu/RSX/GL/GLTextureCache.h +++ b/rpcs3/Emu/RSX/GL/GLTextureCache.h @@ -1082,7 +1082,7 @@ namespace gl //The implementation here adds the inverse scaled clip dimensions onto the source to completely bypass final clipping step float scale_x = (f32)dst.width / src.width; - float scale_y = (f32)dst.height / src.height; + float scale_y = (f32)dst.height / src.slice_h; //Clip offset is unused if the clip offsets are reprojected onto the source position2i clip_offset = {0, 0};//{ dst.clip_x, dst.clip_y };