summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-08-29 18:19:53 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-08-29 18:19:53 +0200
commitff48f06fb92e5fe2105fd6b4c5d4f57bbb2714c7 (patch)
tree2392bbc76f6005587df9d1b1415e35818fba0ac7 /src/video_core/texture_cache
parentGarbage Collection: enable as default, eliminate option. (diff)
downloadyuzu-ff48f06fb92e5fe2105fd6b4c5d4f57bbb2714c7.tar
yuzu-ff48f06fb92e5fe2105fd6b4c5d4f57bbb2714c7.tar.gz
yuzu-ff48f06fb92e5fe2105fd6b4c5d4f57bbb2714c7.tar.bz2
yuzu-ff48f06fb92e5fe2105fd6b4c5d4f57bbb2714c7.tar.lz
yuzu-ff48f06fb92e5fe2105fd6b4c5d4f57bbb2714c7.tar.xz
yuzu-ff48f06fb92e5fe2105fd6b4c5d4f57bbb2714c7.tar.zst
yuzu-ff48f06fb92e5fe2105fd6b4c5d4f57bbb2714c7.zip
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/image_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/image_base.h b/src/video_core/texture_cache/image_base.h
index 662089e3d..0c17a791b 100644
--- a/src/video_core/texture_cache/image_base.h
+++ b/src/video_core/texture_cache/image_base.h
@@ -80,7 +80,7 @@ struct ImageBase {
VAddr cpu_addr_end = 0;
u64 modification_tick = 0;
- size_t lru_index = ~0;
+ size_t lru_index = SIZE_MAX;
std::array<u32, MAX_MIP_LEVELS> mip_level_offsets{};