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.
This commit is contained in:
degasus 2013-11-24 04:00:12 +01:00
parent b0a83c9aaa
commit 2bf7379a7f
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ namespace DX11
{ {
static TextureEncoder* g_encoder = NULL; 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 }; ID3D11Buffer* efbcopycbuf[MAX_COPY_BUFFERS] = { 0 };
TextureCache::TCacheEntry::~TCacheEntry() TextureCache::TCacheEntry::~TCacheEntry()