mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
TextureCacheBase: Change CacheLinesPerRow to BytesPerRow
This commit is contained in:
parent
dddc834c14
commit
c28e3affc5
4 changed files with 23 additions and 20 deletions
|
@ -279,7 +279,7 @@ void EncodeToRamFromTexture(u8 *dest_ptr, const TextureCache::TCacheEntryBase *t
|
|||
source.left, source.top, texture_entry->native_width, bScaleByHalf ? 2 : 1);
|
||||
|
||||
EncodeToRamUsingShader(source_texture,
|
||||
dest_ptr, texture_entry->CacheLinesPerRow() * 32, texture_entry->NumBlocksY(),
|
||||
dest_ptr, texture_entry->BytesPerRow(), texture_entry->NumBlocksY(),
|
||||
texture_entry->memory_stride, bScaleByHalf > 0 && !bFromZBuffer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue