Skip to content

Commit 069821a

Browse files
committed
rsx/rtts: Fix broken optimization check
- Typo. Applying inverse res scale is really not what we want
1 parent 0052108 commit 069821a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rpcs3/Emu/RSX/Common/surface_store.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,7 @@ namespace rsx
14871487

14881488
// Perform a test scaling and check if anything is different after scaling
14891489
// There are many cases where this will avoid creating new surfaces
1490-
const auto [new_w, new_h] = rsx::apply_inverse_resolution_scale<true>(
1490+
const auto [new_w, new_h] = rsx::apply_resolution_scale<true>(
14911491
active_config,
14921492
surface->template get_surface_width<>(),
14931493
surface->template get_surface_height<>());

0 commit comments

Comments
 (0)