summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-02-24 04:59:34 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-02-24 05:04:41 +0100
commit92050c4d867d1f408ba5bf7c693899f3c279c1b4 (patch)
tree8ad505a02ea9691b3596f5601a7764167e2a1514 /src/video_core/renderer_vulkan
parentMerge pull request #2138 from ReinUsesLisp/vulkan-memory-manager (diff)
downloadyuzu-92050c4d867d1f408ba5bf7c693899f3c279c1b4.tar
yuzu-92050c4d867d1f408ba5bf7c693899f3c279c1b4.tar.gz
yuzu-92050c4d867d1f408ba5bf7c693899f3c279c1b4.tar.bz2
yuzu-92050c4d867d1f408ba5bf7c693899f3c279c1b4.tar.lz
yuzu-92050c4d867d1f408ba5bf7c693899f3c279c1b4.tar.xz
yuzu-92050c4d867d1f408ba5bf7c693899f3c279c1b4.tar.zst
yuzu-92050c4d867d1f408ba5bf7c693899f3c279c1b4.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_memory_manager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_memory_manager.cpp b/src/video_core/renderer_vulkan/vk_memory_manager.cpp
index 86364ad54..17ee93b91 100644
--- a/src/video_core/renderer_vulkan/vk_memory_manager.cpp
+++ b/src/video_core/renderer_vulkan/vk_memory_manager.cpp
@@ -238,8 +238,7 @@ bool VKMemoryManager::AllocMemory(vk::MemoryPropertyFlags wanted_properties, u32
VKMemoryCommitImpl::VKMemoryCommitImpl(VKMemoryAllocation* allocation, vk::DeviceMemory memory,
u8* data, u64 begin, u64 end)
- : allocation{allocation}, memory{memory}, data{data},
- interval(std::make_pair(begin, begin + end)) {}
+ : allocation{allocation}, memory{memory}, data{data}, interval(std::make_pair(begin, end)) {}
VKMemoryCommitImpl::~VKMemoryCommitImpl() {
allocation->Free(this);