gl: Fix vertical blit scaling factor

This commit is contained in:
kd-11 2017-03-18 19:46:32 +03:00
parent bcc79b38b8
commit 7a02d6e4ed

View file

@ -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 };