summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D/Src/TextureCache.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2013-11-24 04:00:12 +0100
committerdegasus <wickmarkus@web.de>2013-11-24 04:00:12 +0100
commit2bf7379a7f171a1c80490951978d7ee3b2154365 (patch)
treed8f90e7b616ad832ed5c9a50ea81693c486c82c2 /Source/Core/VideoBackends/D3D/Src/TextureCache.cpp
parentb0a83c9aaa62488958508337c7a28f7966cb6324 (diff)
D3D: also fix MAX_COPY_BUFFERS
the D3D backend caches the colmat buffers. As we've created more different colmats, the maximum of this matrices must also be updated.
Diffstat (limited to 'Source/Core/VideoBackends/D3D/Src/TextureCache.cpp')
-rw-r--r--Source/Core/VideoBackends/D3D/Src/TextureCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/D3D/Src/TextureCache.cpp b/Source/Core/VideoBackends/D3D/Src/TextureCache.cpp
index 22e644b2d8..14a20f4aad 100644
--- a/Source/Core/VideoBackends/D3D/Src/TextureCache.cpp
+++ b/Source/Core/VideoBackends/D3D/Src/TextureCache.cpp
@@ -20,7 +20,7 @@ namespace DX11
{
static TextureEncoder* g_encoder = NULL;
-const size_t MAX_COPY_BUFFERS = 25;
+const size_t MAX_COPY_BUFFERS = 30;
ID3D11Buffer* efbcopycbuf[MAX_COPY_BUFFERS] = { 0 };
TextureCache::TCacheEntry::~TCacheEntry()