summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/VKStreamBuffer.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2025-03-15 15:31:38 +0100
committerGitHub <noreply@github.com>2025-03-15 15:31:38 +0100
commit8c7ab286f5b42d7f95b4d6c1369e2a11615a3a0b (patch)
treeadc97acc89e50fffe165f80e2f16f9c3d6900c96 /Source/Core/VideoBackends/Vulkan/VKStreamBuffer.cpp
parent3fb4084e25b1da3857d5d449dbc4417d731f3490 (diff)
parent6d44afc7dd129603401ce1a7ee4a059be1fbdda4 (diff)
Merge pull request #13181 from tygyh/Replace-'reinterpret_cast'
Replace 'reinterpret_cast' with 'static_cast'
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/VKStreamBuffer.cpp')
-rw-r--r--Source/Core/VideoBackends/Vulkan/VKStreamBuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/VKStreamBuffer.cpp b/Source/Core/VideoBackends/Vulkan/VKStreamBuffer.cpp
index 3efa00f6fa..a098302e6f 100644
--- a/Source/Core/VideoBackends/Vulkan/VKStreamBuffer.cpp
+++ b/Source/Core/VideoBackends/Vulkan/VKStreamBuffer.cpp
@@ -81,7 +81,7 @@ bool StreamBuffer::AllocateBuffer()
// Replace with the new buffer
m_buffer = buffer;
m_alloc = alloc;
- m_host_pointer = reinterpret_cast<u8*>(alloc_info.pMappedData);
+ m_host_pointer = static_cast<u8*>(alloc_info.pMappedData);
m_current_offset = 0;
m_current_gpu_position = 0;
m_tracked_fences.clear();