Texture Cahe: Fix downscaling on SMO.

This commit is contained in:
Fernando Sahmkow committed 2021-11-16 22:11:31 +01:00
1 parent 4cbb1d0799
commit 7bb52ad3a7
5 files changed
+11

No files matched your search

+2
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;