mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-02-04 02:51:18 +01:00
[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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user