diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-07-14 23:42:39 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-07-14 23:42:39 +0200 |
commit | 2ac7472d3f94f1adb33c0a1d7748e922c515f6a8 (patch) | |
tree | 9a2bd7f09312513508957c39eb6b147811fc1352 /src/video_core/texture_cache/surface_base.h | |
parent | Texture_Cache: Remove some unprecise fallback case and clang format (diff) | |
download | yuzu-2ac7472d3f94f1adb33c0a1d7748e922c515f6a8.tar yuzu-2ac7472d3f94f1adb33c0a1d7748e922c515f6a8.tar.gz yuzu-2ac7472d3f94f1adb33c0a1d7748e922c515f6a8.tar.bz2 yuzu-2ac7472d3f94f1adb33c0a1d7748e922c515f6a8.tar.lz yuzu-2ac7472d3f94f1adb33c0a1d7748e922c515f6a8.tar.xz yuzu-2ac7472d3f94f1adb33c0a1d7748e922c515f6a8.tar.zst yuzu-2ac7472d3f94f1adb33c0a1d7748e922c515f6a8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/texture_cache/surface_base.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/surface_base.h b/src/video_core/texture_cache/surface_base.h index fb6378bc7..bcce8d863 100644 --- a/src/video_core/texture_cache/surface_base.h +++ b/src/video_core/texture_cache/surface_base.h @@ -312,11 +312,13 @@ private: return view; } + static constexpr u32 NO_RT = 0xFFFFFFFF; + bool is_modified{}; bool is_target{}; bool is_registered{}; bool is_picked{}; - u32 index{0xFFFFFFFF}; + u32 index{NO_RT}; u64 modification_tick{}; }; |