Fix GetNativePtr on Vulkan

This commit is contained in:
Wojciech Figat
2022-12-14 16:16:43 +01:00
parent 79f4dfcaab
commit 63e7fb85ec
4 changed files with 6 additions and 3 deletions

View File

@@ -783,7 +783,7 @@ void GPUContextVulkan::EventEnd()
void* GPUContextVulkan::GetNativePtr() const
{
const auto cmdBuffer = _cmdBufferManager->GetCmdBuffer();
return (void*)cmdBuffer;
return (void*)cmdBuffer->GetHandle();
}
bool GPUContextVulkan::IsDepthBufferBinded()