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:
parent
b0a83c9aaa
commit
2bf7379a7f
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue