mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-20 23:58:01 -05:00
Texture Cahe: Fix downscaling on SMO.
This commit is contained in:
@ -109,10 +109,12 @@ float Volume() {
|
||||
void UpdateRescalingInfo() {
|
||||
const auto setup = values.resolution_setup.GetValue();
|
||||
auto& info = values.resolution_info;
|
||||
info.downscale = false;
|
||||
switch (setup) {
|
||||
case ResolutionSetup::Res1_2X:
|
||||
info.up_scale = 1;
|
||||
info.down_shift = 1;
|
||||
info.downscale = true;
|
||||
break;
|
||||
case ResolutionSetup::Res1X:
|
||||
info.up_scale = 1;
|
||||
|
@ -72,6 +72,7 @@ struct ResolutionScalingInfo {
|
||||
f32 up_factor{1.0f};
|
||||
f32 down_factor{1.0f};
|
||||
bool active{};
|
||||
bool downscale{};
|
||||
|
||||
s32 ScaleUp(s32 value) const {
|
||||
if (value == 0) {
|
||||
|
Reference in New Issue
Block a user