mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-27 19:29:13 +00:00
Copy all layers of textures with CopyRectangleFromTexture
This commit is contained in:
parent
99555a35ca
commit
bb4d636f34
3 changed files with 4 additions and 3 deletions
|
@ -226,6 +226,7 @@ void TextureCacheBase::ScaleTextureCacheEntryTo(TextureCacheBase::TCacheEntryBas
|
|||
TextureCacheBase::TCacheEntryConfig newconfig;
|
||||
newconfig.width = new_width;
|
||||
newconfig.height = new_height;
|
||||
newconfig.layers = (*entry)->config.layers;
|
||||
newconfig.rendertarget = true;
|
||||
|
||||
TCacheEntryBase* newentry = AllocateTexture(newconfig);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue