summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2019-12-23 19:08:11 +0000
committerassiduous <assiduous@diligentgraphics.com>2019-12-23 19:08:11 +0000
commit514461b57036c83fa113ad9a8636866c98f1c7d7 (patch)
tree4d28e7a2b9fec3ad4b5952bc90fe8d3dfd8632cb /Graphics/GraphicsEngineVulkan
parentRenamed MAP_FLAG_DO_NOT_SYNCHRONIZE flag to MAP_FLAG_NO_OVERWRITE (API version ) (diff)
downloadDiligentCore-514461b57036c83fa113ad9a8636866c98f1c7d7.tar.gz
DiligentCore-514461b57036c83fa113ad9a8636866c98f1c7d7.zip
Fixed issue with const PVoid not being the intended const void*
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.h2
-rw-r--r--Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.h b/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.h
index 7430ee9a..d8b12a19 100644
--- a/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.h
+++ b/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.h
@@ -144,7 +144,7 @@ public:
virtual void UpdateBuffer(IBuffer* pBuffer,
Uint32 Offset,
Uint32 Size,
- const PVoid pData,
+ const void* pData,
RESOURCE_STATE_TRANSITION_MODE StateTransitionMode) override final;
/// Implementation of IDeviceContext::CopyBuffer() in Vulkan backend.
diff --git a/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp
index fcb623ec..690b0589 100644
--- a/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp
@@ -1228,7 +1228,7 @@ void DeviceContextVkImpl::UpdateBufferRegion(BufferVkImpl* pBuf
void DeviceContextVkImpl::UpdateBuffer(IBuffer* pBuffer,
Uint32 Offset,
Uint32 Size,
- const PVoid pData,
+ const void* pData,
RESOURCE_STATE_TRANSITION_MODE StateTransitionMode)
{
TDeviceContextBase::UpdateBuffer(pBuffer, Offset, Size, pData, StateTransitionMode);