diff options
| author | Egor <egor.yusov@gmail.com> | 2018-11-08 15:51:39 +0000 |
|---|---|---|
| committer | Egor <egor.yusov@gmail.com> | 2018-11-08 15:51:39 +0000 |
| commit | 3b81fc56af49727b3335c036f694a32f32dcf2d5 (patch) | |
| tree | 204c6ffe04a4c2342d0153747a1583077edb928a /Graphics/GraphicsEngineVulkan | |
| parent | Fixed Android build issue (diff) | |
| download | DiligentCore-3b81fc56af49727b3335c036f694a32f32dcf2d5.tar.gz DiligentCore-3b81fc56af49727b3335c036f694a32f32dcf2d5.zip | |
Fixed unexplainable ValidatedCast problem on Linux/gcc
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/src/BufferViewVkImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/BufferViewVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/BufferViewVkImpl.cpp index 31c8be7a..de9924de 100644 --- a/Graphics/GraphicsEngineVulkan/src/BufferViewVkImpl.cpp +++ b/Graphics/GraphicsEngineVulkan/src/BufferViewVkImpl.cpp @@ -42,7 +42,7 @@ BufferViewVkImpl::BufferViewVkImpl( IReferenceCounters* pRefCou BufferViewVkImpl::~BufferViewVkImpl() { - m_pDevice->SafeReleaseDeviceObject(std::move(m_BuffView), GetBufferVk()->GetDesc().CommandQueueMask); + m_pDevice->SafeReleaseDeviceObject(std::move(m_BuffView), m_pBuffer->GetDesc().CommandQueueMask); } IMPLEMENT_QUERY_INTERFACE( BufferViewVkImpl, IID_BufferViewVk, TBufferViewBase ) |
