[video_core] Disable resolution rescaling pass on Android to avoid visual artifacts (#3353)
The rescaling optimization causes visual artifacts on Android (GLES). Disable the pass entirely on Android to preserve correct rendering. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3353 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: Maufeat <sahyno1996@gmail.com> Co-authored-by: MaranBr <maranbr@outlook.com> Co-committed-by: MaranBr <maranbr@outlook.com>
This commit is contained in:
parent
4510e9ff7f
commit
9aa8e9b0a1
|
|
@ -347,7 +347,11 @@ 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;
|
||||
#else
|
||||
info.active = true;
|
||||
#endif
|
||||
}
|
||||
|
||||
void UpdateRescalingInfo() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue