diff options
| author | MaranBr <maranbr@outlook.com> | 2026-01-19 20:57:48 +0100 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-01-19 20:57:48 +0100 |
| commit | 30e073b02bfd747a90807f3bb6e726fb335c0e2b (patch) | |
| tree | d9399808f6c46089da8688297925166702f55b2b /src/common/settings.cpp | |
| parent | b9da45cb1f284f3d3d1815cf8d3d77ad314cc901 (diff) | |
[video_core] Fixes flickering and weird textures at native 1x resolution (#3346)
The issue occurs because shaders generated without RescalingPass are too simple, triggering driver optimization bugs on some GPUs.
Fixes rendering issues in Luigi's Mansion 3 and possibly other games as well.
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3346
Reviewed-by: DraVee <dravee@eden-emu.dev>
Co-authored-by: MaranBr <maranbr@outlook.com>
Co-committed-by: MaranBr <maranbr@outlook.com>
Diffstat (limited to 'src/common/settings.cpp')
| -rw-r--r-- | src/common/settings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp index d6b17b2f73..1e67cbbd6c 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project // SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project @@ -347,7 +347,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; - info.active = info.up_scale != 1 || info.down_shift != 0; + info.active = true; } void UpdateRescalingInfo() { |
