mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 20:15:27 +00:00
rsx: Fix bpp when working with DMA-only (null) memory sections
This commit is contained in:
parent
c1c3be8b4e
commit
cb21fefbd9
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ namespace vk
|
|||
.image_width = width,
|
||||
.image_height = height,
|
||||
.image_pitch = real_pitch,
|
||||
.image_bpp = rsx::get_format_block_size_in_bytes(gcm_format)
|
||||
.image_bpp = context == rsx::texture_upload_context::dma ? internal_bpp : rsx::get_format_block_size_in_bytes(gcm_format)
|
||||
};
|
||||
|
||||
// Execute
|
||||
|
|
Loading…
Add table
Reference in a new issue