mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
improve z copy a little further in 4 bits copy,
fix and error introduced by my last commit in dx11 plugin git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6754 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -43,7 +43,8 @@
|
||||
namespace DX11
|
||||
{
|
||||
|
||||
ID3D11Buffer* efbcopycbuf[20] = {};
|
||||
#define MAX_COPY_BUFFERS 21
|
||||
ID3D11Buffer* efbcopycbuf[MAX_COPY_BUFFERS] = {};
|
||||
|
||||
TextureCache::TCacheEntry::~TCacheEntry()
|
||||
{
|
||||
@ -165,7 +166,7 @@ TextureCache::TextureCache()
|
||||
|
||||
TextureCache::~TextureCache()
|
||||
{
|
||||
for (unsigned int k = 0; k < 20; ++k)
|
||||
for (unsigned int k = 0; k < MAX_COPY_BUFFERS; ++k)
|
||||
SAFE_RELEASE(efbcopycbuf[k]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user