diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index b60f840c1..691198853 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -858,6 +858,12 @@ bool TextureCache
::ScaleUp(Image& image) {
if (!rescaled) {
return false;
}
+ const auto& add_to_size = Settings::values.resolution_info.up_factor - 1.0f;
+ const auto sign = std::signbit(add_to_size);
+ const u64 tentative_size = static_cast ::ScaleDown(Image& image) {
if (!rescaled) {
return false;
}
+ const auto& add_to_size = Settings::values.resolution_info.up_factor - 1.0f;
+ const auto sign = std::signbit(add_to_size);
+ const u64 tentative_size = static_cast