mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 14:46:49 +01:00
TexCache: unify global variables
This commit is contained in:
parent
774596dbed
commit
6ba613fbd3
@ -19,11 +19,9 @@
|
|||||||
#include "VideoCommon/TextureCacheBase.h"
|
#include "VideoCommon/TextureCacheBase.h"
|
||||||
#include "VideoCommon/VideoConfig.h"
|
#include "VideoCommon/VideoConfig.h"
|
||||||
|
|
||||||
enum
|
static const u64 TEXHASH_INVALID = 0;
|
||||||
{
|
static const int TEXTURE_KILL_THRESHOLD = 200;
|
||||||
TEXTURE_KILL_THRESHOLD = 200,
|
static const int RENDER_TARGET_KILL_THRESHOLD = 3;
|
||||||
RENDER_TARGET_KILL_THRESHOLD = 3,
|
|
||||||
};
|
|
||||||
|
|
||||||
TextureCache *g_texture_cache;
|
TextureCache *g_texture_cache;
|
||||||
|
|
||||||
|
@ -27,8 +27,6 @@ public:
|
|||||||
|
|
||||||
struct TCacheEntryBase
|
struct TCacheEntryBase
|
||||||
{
|
{
|
||||||
#define TEXHASH_INVALID 0
|
|
||||||
|
|
||||||
// common members
|
// common members
|
||||||
u32 addr;
|
u32 addr;
|
||||||
u32 size_in_bytes;
|
u32 size_in_bytes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user