diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2019-12-23 19:08:11 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2019-12-23 19:08:11 +0000 |
| commit | 514461b57036c83fa113ad9a8636866c98f1c7d7 (patch) | |
| tree | 4d28e7a2b9fec3ad4b5952bc90fe8d3dfd8632cb /Graphics/GraphicsEngineD3D11 | |
| parent | Renamed MAP_FLAG_DO_NOT_SYNCHRONIZE flag to MAP_FLAG_NO_OVERWRITE (API version ) (diff) | |
| download | DiligentCore-514461b57036c83fa113ad9a8636866c98f1c7d7.tar.gz DiligentCore-514461b57036c83fa113ad9a8636866c98f1c7d7.zip | |
Fixed issue with const PVoid not being the intended const void*
Diffstat (limited to 'Graphics/GraphicsEngineD3D11')
| -rwxr-xr-x | Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.h | 2 | ||||
| -rwxr-xr-x | Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.h b/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.h index 1ec8f096..e7f925fd 100755 --- a/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.h +++ b/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.h @@ -133,7 +133,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 Direct3D11 backend.
diff --git a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp index 947c9846..c3962a0a 100755 --- a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp +++ b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp @@ -984,7 +984,7 @@ void DeviceContextD3D11Impl::Flush() void DeviceContextD3D11Impl::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);
|
