diff options
| author | Lioncash <mai.iam2048@gmail.com> | 2024-01-23 13:34:13 -0500 |
|---|---|---|
| committer | Lioncash <mai.iam2048@gmail.com> | 2024-01-23 13:34:16 -0500 |
| commit | a3f9f2c7aaaf9225736162282a8f3d0c47f1fc4f (patch) | |
| tree | 9bc9579c1ae1d722669ad34dc9c31b6ad857d2c7 /Source/Core/VideoCommon/PostProcessing.cpp | |
| parent | d1b4c5482ccc2762cbe192329841e14e2af438fb (diff) | |
PostProcessing: Remove unnecessary get() calls in BlitFromTexture()
We can just use operator-> instead.
Diffstat (limited to 'Source/Core/VideoCommon/PostProcessing.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PostProcessing.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/PostProcessing.cpp b/Source/Core/VideoCommon/PostProcessing.cpp index 1458e3c59f..3f7682ef96 100644 --- a/Source/Core/VideoCommon/PostProcessing.cpp +++ b/Source/Core/VideoCommon/PostProcessing.cpp @@ -524,9 +524,9 @@ void PostProcessing::BlitFromTexture(const MathUtil::Rectangle<int>& dst, needs_resampling ? present_rect.GetHeight() : static_cast<u32>(src_rect.GetHeight()); if (!m_intermediary_frame_buffer || !m_intermediary_color_texture || - m_intermediary_color_texture.get()->GetWidth() != target_width || - m_intermediary_color_texture.get()->GetHeight() != target_height || - m_intermediary_color_texture.get()->GetLayers() != target_layers) + m_intermediary_color_texture->GetWidth() != target_width || + m_intermediary_color_texture->GetHeight() != target_height || + m_intermediary_color_texture->GetLayers() != target_layers) { const TextureConfig intermediary_color_texture_config( target_width, target_height, 1, target_layers, src_tex->GetSamples(), |
