summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-07 19:14:02 +0100
committerGitHub <noreply@github.com>2020-12-07 19:14:02 +0100
commit5cd051ecede06b728198424166080c5e5abb18cb (patch)
tree67f2b025bcc38b43be0ccd8bf3a3fed2a512afbb /src/video_core
parentMerge pull request #5159 from lioncash/move-amend (diff)
parentmap_interval: Change field order to address uninitialized field warning (diff)
downloadyuzu-5cd051ecede06b728198424166080c5e5abb18cb.tar
yuzu-5cd051ecede06b728198424166080c5e5abb18cb.tar.gz
yuzu-5cd051ecede06b728198424166080c5e5abb18cb.tar.bz2
yuzu-5cd051ecede06b728198424166080c5e5abb18cb.tar.lz
yuzu-5cd051ecede06b728198424166080c5e5abb18cb.tar.xz
yuzu-5cd051ecede06b728198424166080c5e5abb18cb.tar.zst
yuzu-5cd051ecede06b728198424166080c5e5abb18cb.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/buffer_cache/map_interval.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/buffer_cache/map_interval.h b/src/video_core/buffer_cache/map_interval.h
index fe0bcd1d8..ef974b08a 100644
--- a/src/video_core/buffer_cache/map_interval.h
+++ b/src/video_core/buffer_cache/map_interval.h
@@ -84,9 +84,10 @@ private:
void FillFreeList(Chunk& chunk);
std::vector<MapInterval*> free_list;
- std::unique_ptr<Chunk>* new_chunk = &first_chunk.next;
Chunk first_chunk;
+
+ std::unique_ptr<Chunk>* new_chunk = &first_chunk.next;
};
} // namespace VideoCommon