TexCache: unify global variables

This commit is contained in:
degasus 2014-05-19 18:27:59 +02:00
parent 774596dbed
commit 6ba613fbd3
2 changed files with 3 additions and 7 deletions

View File

@ -19,11 +19,9 @@
#include "VideoCommon/TextureCacheBase.h"
#include "VideoCommon/VideoConfig.h"
enum
{
TEXTURE_KILL_THRESHOLD = 200,
RENDER_TARGET_KILL_THRESHOLD = 3,
};
static const u64 TEXHASH_INVALID = 0;
static const int TEXTURE_KILL_THRESHOLD = 200;
static const int RENDER_TARGET_KILL_THRESHOLD = 3;
TextureCache *g_texture_cache;

View File

@ -27,8 +27,6 @@ public:
struct TCacheEntryBase
{
#define TEXHASH_INVALID 0
// common members
u32 addr;
u32 size_in_bytes;