Browse Source

[android] fix resolution info.active causing 1/4th of screen rendering when using 0.5x instead of downscaled 0.5x (#3361)

Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3361
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
lizzie/texture-pass-revert-1
lizzie 2 weeks ago
committed by crueter
parent
commit
368a8f9e3d
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 2
      src/common/settings.cpp

2
src/common/settings.cpp

@ -348,7 +348,7 @@ void TranslateResolutionInfo(ResolutionSetup setup, ResolutionScalingInfo& info)
info.up_factor = static_cast<f32>(info.up_scale) / (1U << info.down_shift);
info.down_factor = static_cast<f32>(1U << info.down_shift) / info.up_scale;
#ifdef __ANDROID__
info.active = false;
info.active = info.up_scale != 1 || info.down_shift != 0;
#else
info.active = true;
#endif

Loading…
Cancel
Save