PostProcessing: Remove unnecessary get() calls in BlitFromTexture()

We can just use operator-> instead.
This commit is contained in:
Lioncash 2024-01-23 13:34:13 -05:00
parent d1b4c5482c
commit a3f9f2c7aa
1 changed files with 3 additions and 3 deletions

View File

@ -524,9 +524,9 @@ void PostProcessing::BlitFromTexture(const MathUtil::Rectangle<int>& dst,
needs_resampling ? present_rect.GetHeight() : static_cast<u32>(src_rect.GetHeight()); needs_resampling ? present_rect.GetHeight() : static_cast<u32>(src_rect.GetHeight());
if (!m_intermediary_frame_buffer || !m_intermediary_color_texture || if (!m_intermediary_frame_buffer || !m_intermediary_color_texture ||
m_intermediary_color_texture.get()->GetWidth() != target_width || m_intermediary_color_texture->GetWidth() != target_width ||
m_intermediary_color_texture.get()->GetHeight() != target_height || m_intermediary_color_texture->GetHeight() != target_height ||
m_intermediary_color_texture.get()->GetLayers() != target_layers) m_intermediary_color_texture->GetLayers() != target_layers)
{ {
const TextureConfig intermediary_color_texture_config( const TextureConfig intermediary_color_texture_config(
target_width, target_height, 1, target_layers, src_tex->GetSamples(), target_width, target_height, 1, target_layers, src_tex->GetSamples(),