diff options
| author | mimimi085181 <mimimi085181@gmail.com> | 2016-02-14 17:13:07 +0100 |
|---|---|---|
| committer | mimimi085181 <mimimi085181@gmail.com> | 2016-02-14 21:17:06 +0100 |
| commit | bb4d636f34ab26c4c964cf83383d0694be6beb8c (patch) | |
| tree | 569fbb67e52f6433087febd45930280c6a2fd289 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | 99555a35cad56b53ead422f23eae49a2251e52d6 (diff) | |
Copy all layers of textures with CopyRectangleFromTexture
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index 106e9fa588..eb4b041c18 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -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); |
