summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2023-01-31 17:29:16 +1300
committerScott Mansell <phiren@gmail.com>2023-02-09 18:36:20 +1300
commit31cfe8250d5a27bd586136d0b71b09736861ad7d (patch)
tree170644a7c52c618e488e2226768d23eb0e52482e /Source/Core/VideoCommon/TextureCacheBase.cpp
parent11de923dcb7e6a7e1b29e5b15cb2bf71ede22b97 (diff)
Lint fixes
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp
index 02601baaf4..ce14075552 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -773,7 +773,7 @@ void TextureCacheBase::OnFrameEnd()
{
if (m_force_reload_textures.TestAndClear())
{
- ForceReload();
+ ForceReload();
}
else
{
@@ -920,9 +920,9 @@ RcTcacheEntry TextureCacheBase::DoPartialTextureUpdates(RcTcacheEntry& entry_to_
entry_to_update->native_height != entry_to_update->GetHeight() ||
entry->native_width != entry->GetWidth() || entry->native_height != entry->GetHeight())
{
- ScaleTextureCacheEntryTo(entry_to_update,
- g_framebuffer_manager->EFBToScaledX(entry_to_update->native_width),
- g_framebuffer_manager->EFBToScaledY(entry_to_update->native_height));
+ ScaleTextureCacheEntryTo(
+ entry_to_update, g_framebuffer_manager->EFBToScaledX(entry_to_update->native_width),
+ g_framebuffer_manager->EFBToScaledY(entry_to_update->native_height));
ScaleTextureCacheEntryTo(entry, g_framebuffer_manager->EFBToScaledX(entry->native_width),
g_framebuffer_manager->EFBToScaledY(entry->native_height));
@@ -1957,7 +1957,8 @@ void TextureCacheBase::StitchXFBCopy(RcTcacheEntry& stitched_entry)
// copies to be stitched together.
if (create_upscaled_copy)
{
- ScaleTextureCacheEntryTo(stitched_entry, g_framebuffer_manager->EFBToScaledX(stitched_entry->native_width),
+ ScaleTextureCacheEntryTo(stitched_entry,
+ g_framebuffer_manager->EFBToScaledX(stitched_entry->native_width),
g_framebuffer_manager->EFBToScaledY(stitched_entry->native_height));
}
@@ -2269,7 +2270,8 @@ void TextureCacheBase::CopyRenderTargetToTexture(
// TODO: This only produces perfect downsampling for 2x IR, other resolutions will need more
// complex down filtering to average all pixels and produce the correct result.
const bool linear_filter =
- !is_depth_copy && (scaleByHalf || g_framebuffer_manager->GetEFBScale() != 1 || y_scale > 1.0f);
+ !is_depth_copy &&
+ (scaleByHalf || g_framebuffer_manager->GetEFBScale() != 1 || y_scale > 1.0f);
RcTcacheEntry entry;
if (copy_to_vram)