From 2bf7379a7f171a1c80490951978d7ee3b2154365 Mon Sep 17 00:00:00 2001 From: degasus Date: Sun, 24 Nov 2013 04:00:12 +0100 Subject: [PATCH] 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. --- Source/Core/VideoBackends/D3D/Src/TextureCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()