Texture Cahe: Fix downscaling on SMO.
This commit is contained in:
parent
0f14c9379e
commit
b7ccc58f23
5 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue