diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-06-16 02:12:21 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-10-06 21:00:53 +0200 |
commit | fe24c65153349d3a759a2eef02ec703851a96847 (patch) | |
tree | 68148597dbb554d427ce43a660c88c28fc9545bb /src/video_core/host1x/vic.cpp | |
parent | Common: Fix variable shadowing. (diff) | |
download | yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar.gz yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar.bz2 yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar.lz yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar.xz yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar.zst yuzu-fe24c65153349d3a759a2eef02ec703851a96847.zip |
Diffstat (limited to 'src/video_core/host1x/vic.cpp')
-rw-r--r-- | src/video_core/host1x/vic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/host1x/vic.cpp b/src/video_core/host1x/vic.cpp index b9ac41529..ac0b7d20e 100644 --- a/src/video_core/host1x/vic.cpp +++ b/src/video_core/host1x/vic.cpp @@ -157,8 +157,8 @@ void Vic::WriteRGBFrame(const AVFrame* frame, const VicConfig& config) { const auto size = Texture::CalculateSize(true, 4, width, height, 1, block_height, 0); luma_buffer.resize(size); std::span<const u8> frame_buff(converted_frame_buf_addr, 4 * width * height); - Texture::SwizzleSubrect(luma_buffer, frame_buff, 4, width, height, 1, - 0, 0, width, height, block_height, 0, width * 4); + Texture::SwizzleSubrect(luma_buffer, frame_buff, 4, width, height, 1, 0, 0, width, height, + block_height, 0, width * 4); host1x.MemoryManager().WriteBlock(output_surface_luma_address, luma_buffer.data(), size); } else { |