diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-06-16 03:29:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-16 03:29:32 +0200 |
commit | 0bd9bc7201568f1c1f6f0a0c425cff6229ffc597 (patch) | |
tree | 7a398409a2e8a03a4bf5246ac5bda06a6d7ef823 /src/video_core/renderer_vulkan/vk_stream_buffer.h | |
parent | Merge pull request #4085 from ReinUsesLisp/gcc-times (diff) | |
parent | buffer_cache: Avoid passing references of shared pointers and misc style changes (diff) | |
download | yuzu-0bd9bc7201568f1c1f6f0a0c425cff6229ffc597.tar yuzu-0bd9bc7201568f1c1f6f0a0c425cff6229ffc597.tar.gz yuzu-0bd9bc7201568f1c1f6f0a0c425cff6229ffc597.tar.bz2 yuzu-0bd9bc7201568f1c1f6f0a0c425cff6229ffc597.tar.lz yuzu-0bd9bc7201568f1c1f6f0a0c425cff6229ffc597.tar.xz yuzu-0bd9bc7201568f1c1f6f0a0c425cff6229ffc597.tar.zst yuzu-0bd9bc7201568f1c1f6f0a0c425cff6229ffc597.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_stream_buffer.h')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_stream_buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_stream_buffer.h b/src/video_core/renderer_vulkan/vk_stream_buffer.h index dfddf7ad6..c765c60a0 100644 --- a/src/video_core/renderer_vulkan/vk_stream_buffer.h +++ b/src/video_core/renderer_vulkan/vk_stream_buffer.h @@ -35,7 +35,7 @@ public: /// Ensures that "size" bytes of memory are available to the GPU, potentially recording a copy. void Unmap(u64 size); - VkBuffer GetHandle() const { + VkBuffer Handle() const { return *buffer; } |