Remove unnecessary Vulkan cast for m_SwapChain when calling OPTICK_GPU_FLIP()

This commit is contained in:
Stephen Saunders 2023-05-23 14:45:34 -04:00
parent 2b933df6da
commit 9ebe476f4f

View file

@ -1297,7 +1297,7 @@ void DeviceManager_VK::EndFrame()
void DeviceManager_VK::Present()
{
OPTICK_GPU_FLIP( ( VkSwapchainKHR )m_SwapChain );
OPTICK_GPU_FLIP( m_SwapChain );
OPTICK_CATEGORY( "Vulkan_Present", Optick::Category::Wait );
void* pNext = nullptr;