Fix warnings in GLGSRender

This commit is contained in:
Nekotekina Aux1 2020-03-04 15:29:29 +03:00 committed by Nekotekina
parent 54775d91dc
commit c3f3451269

View file

@ -388,8 +388,8 @@ namespace gl
auto src_w = src_rect.width();
auto dst_w = dst_rect.width();
if (xfer_info.src_is_typeless) src_w *= xfer_info.src_scaling_hint;
if (xfer_info.dst_is_typeless) dst_w *= xfer_info.dst_scaling_hint;
if (xfer_info.src_is_typeless) src_w = static_cast<int>(src_w * xfer_info.src_scaling_hint);
if (xfer_info.dst_is_typeless) dst_w = static_cast<int>(dst_w * xfer_info.dst_scaling_hint);
if (src_w == dst_w)
{