Texture Cahe: Fix downscaling on SMO.

This commit is contained in:
Fernando Sahmkow 2021-10-15 22:59:16 +02:00
parent 0f14c9379e
commit b7ccc58f23
5 changed files with 11 additions and 0 deletions

View file

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