Skip to content

Commit

Permalink
One more
Browse files Browse the repository at this point in the history
  • Loading branch information
AniLeo committed May 17, 2021
1 parent 9bdc7b3 commit e638bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcs3/Emu/RSX/VK/VKRenderTargets.cpp
Expand Up @@ -223,7 +223,7 @@ namespace vk
subres.height_in_block = subres.height_in_texel = surface_height * samples_y;
subres.pitch_in_block = rsx_pitch / get_bpp();
subres.depth = 1;
subres.data = { vm::get_super_ptr<const std::byte>(base_addr), static_cast<std::span<const std::byte>::index_type>(rsx_pitch * surface_height * samples_y) };
subres.data = { vm::get_super_ptr<const std::byte>(base_addr), static_cast<std::span<const std::byte>::size_type>(rsx_pitch * surface_height * samples_y) };

if (g_cfg.video.resolution_scale_percent == 100 && spp == 1) [[likely]]
{
Expand Down

0 comments on commit e638bae

Please sign in to comment.