diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-06 04:25:15 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-06 04:25:15 +0200 |
commit | 7228e22098dd97ac89b78484a4f3ee855e37f799 (patch) | |
tree | fb8689f49635886aafbff8c4e2fc84dc6d08587c /src/video_core/texture_cache/surface_base.h | |
parent | gl_rasterizer: Apply textures and images state (diff) | |
download | yuzu-7228e22098dd97ac89b78484a4f3ee855e37f799.tar yuzu-7228e22098dd97ac89b78484a4f3ee855e37f799.tar.gz yuzu-7228e22098dd97ac89b78484a4f3ee855e37f799.tar.bz2 yuzu-7228e22098dd97ac89b78484a4f3ee855e37f799.tar.lz yuzu-7228e22098dd97ac89b78484a4f3ee855e37f799.tar.xz yuzu-7228e22098dd97ac89b78484a4f3ee855e37f799.tar.zst yuzu-7228e22098dd97ac89b78484a4f3ee855e37f799.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/texture_cache/surface_base.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/video_core/texture_cache/surface_base.h b/src/video_core/texture_cache/surface_base.h index bcce8d863..5e497e49f 100644 --- a/src/video_core/texture_cache/surface_base.h +++ b/src/video_core/texture_cache/surface_base.h @@ -195,18 +195,18 @@ public: virtual void DownloadTexture(std::vector<u8>& staging_buffer) = 0; - void MarkAsModified(const bool is_modified_, const u64 tick) { + void MarkAsModified(bool is_modified_, u64 tick) { is_modified = is_modified_ || is_target; modification_tick = tick; } - void MarkAsRenderTarget(const bool is_target, const u32 index) { - this->is_target = is_target; - this->index = index; + void MarkAsRenderTarget(bool is_target_, u32 index_) { + is_target = is_target_; + index = index_; } - void MarkAsPicked(const bool is_picked) { - this->is_picked = is_picked; + void MarkAsPicked(bool is_picked_) { + is_picked = is_picked_; } bool IsModified() const { |