summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2014-05-19 18:27:59 +0200
committerdegasus <wickmarkus@web.de>2015-01-11 22:23:35 +0100
commit6ba613fbd3e7ecca0357adaab2e7fac422480a54 (patch)
tree34c51e1ef95a825af2fe12e62b3532e7b994a592 /Source/Core/VideoCommon/TextureCacheBase.cpp
parent774596dbed35c2d69d8b70d58c4190cb1b42d1ac (diff)
TexCache: unify global variables
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp
index 94ac0d2848..870e79552b 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -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;