aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-07 10:14:02 -0800
committerGitHub <noreply@github.com>2020-12-07 10:14:02 -0800
commit72378f4f6c3e6dcd85ee96740aba54027fd1d324 (patch)
tree67f2b025bcc38b43be0ccd8bf3a3fed2a512afbb /src/video_core/buffer_cache
parent73f3e1cbf338a4f056f8579787cfa042f0a67b43 (diff)
parentef14bbc69d7c7093496a84ea4bdd1dc83f7d5cab (diff)
Merge pull request #5149 from comex/xx-map-interval
map_interval: Change field order to address uninitialized field warning
Diffstat (limited to 'src/video_core/buffer_cache')
-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 fe0bcd1d8f..ef974b08ae 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