mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 18:28:35 +12:00
Fix warnings in GLGSRender
This commit is contained in:
parent
54775d91dc
commit
c3f3451269
1 changed files with 2 additions and 2 deletions
|
@ -388,8 +388,8 @@ namespace gl
|
||||||
auto src_w = src_rect.width();
|
auto src_w = src_rect.width();
|
||||||
auto dst_w = dst_rect.width();
|
auto dst_w = dst_rect.width();
|
||||||
|
|
||||||
if (xfer_info.src_is_typeless) src_w *= xfer_info.src_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 *= xfer_info.dst_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)
|
if (src_w == dst_w)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue