diff options
| author | Scott Mansell <phiren@gmail.com> | 2023-02-03 13:18:37 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2023-02-09 18:36:20 +1300 |
| commit | 60f2b5af7b5b5748f672e968d99338d503b5272e (patch) | |
| tree | 515c5f3bcdbb24e7ab40d5be311db890bc86fbae /Source/Core/VideoCommon/TextureCacheBase.h | |
| parent | e0a1631659425948a1e25c159307d81bda961018 (diff) | |
Apply suggestions from code review
Co-authored-by: Mai <mathew1800@gmail.com>
Co-authored-by: BhaaL <bhaalsen@gmail.com>
Co-authored-by: iwubcode <iwubcode@users.noreply.github.com>
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.h')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h index c38f2578b9..958d7704fe 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.h +++ b/Source/Core/VideoCommon/TextureCacheBase.h @@ -123,8 +123,8 @@ struct TCacheEntry bool is_efb_copy = false; bool is_custom_tex = false; bool may_have_overlapping_textures = true; - bool has_arbitrary_mips = false; // indicates that the mips in this texture are arbitrary - // content, aren't just downscaled + // indicates that the mips in this texture are arbitrary content, aren't just downscaled + bool has_arbitrary_mips = false; bool should_force_safe_hashing = false; // for XFB bool is_xfb_copy = false; bool is_xfb_container = false; @@ -438,7 +438,8 @@ private: void OnFrameEnd(); Common::Flag m_force_reload_textures; - EventHook m_frame_event = AfterFrameEvent::Register([this] { OnFrameEnd(); }, "TextureCache"); + Common::EventHook m_frame_event = + AfterFrameEvent::Register([this] { OnFrameEnd(); }, "TextureCache"); }; extern std::unique_ptr<TextureCacheBase> g_texture_cache; |
