summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/TextureCache.cpp
diff options
context:
space:
mode:
authormimimi085181 <mimimi085181@gmail.com>2016-02-14 17:13:07 +0100
committermimimi085181 <mimimi085181@gmail.com>2016-02-14 21:17:06 +0100
commitbb4d636f34ab26c4c964cf83383d0694be6beb8c (patch)
tree569fbb67e52f6433087febd45930280c6a2fd289 /Source/Core/VideoBackends/OGL/TextureCache.cpp
parent99555a35cad56b53ead422f23eae49a2251e52d6 (diff)
Copy all layers of textures with CopyRectangleFromTexture
Diffstat (limited to 'Source/Core/VideoBackends/OGL/TextureCache.cpp')
-rw-r--r--Source/Core/VideoBackends/OGL/TextureCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/OGL/TextureCache.cpp b/Source/Core/VideoBackends/OGL/TextureCache.cpp
index 824d16b8c1..6cd9c50359 100644
--- a/Source/Core/VideoBackends/OGL/TextureCache.cpp
+++ b/Source/Core/VideoBackends/OGL/TextureCache.cpp
@@ -168,7 +168,7 @@ void TextureCache::TCacheEntry::CopyRectangleFromTexture(
0,
dstrect.GetWidth(),
dstrect.GetHeight(),
- 1);
+ srcentry->config.layers);
return;
}
else if (!framebuffer)