Fix some compile errors caused by cherry-picking an old commit

This commit is contained in:
Magnus Norddahl 2023-03-16 23:17:23 +01:00
commit 342d495c08
4 changed files with 5 additions and 10 deletions

View file

@ -55,7 +55,7 @@ void VkRaytrace::SetLevelMesh(hwrenderer::LevelMesh* mesh)
{
Reset();
Mesh = mesh;
if (fb->device->SupportsDeviceExtension(VK_KHR_RAY_QUERY_EXTENSION_NAME))
if (fb->device->SupportsExtension(VK_KHR_RAY_QUERY_EXTENSION_NAME))
{
CreateVulkanObjects();
}