Skip to content

Commit

Permalink
fixup! nvapi-vulkan: Add support for Vulkan Reflex
Browse files Browse the repository at this point in the history
  • Loading branch information
Saancreed committed Dec 30, 2024
1 parent 4acafbb commit 3d4f679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nvapi_vulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ extern "C" {
return ApiNotInitialized(n);

static std::once_flag initialized{};
std::call_once(initialized, []() { NvapiVulkanLowLatencyDevice::TryInitialize(resourceFactory.get()); });
std::call_once(initialized, []() { NvapiVulkanLowLatencyDevice::Initialize(*resourceFactory); });

auto device = reinterpret_cast<VkDevice>(vkDevice);
auto semaphore = reinterpret_cast<VkSemaphore*>(signalSemaphoreHandle);
Expand Down

0 comments on commit 3d4f679

Please sign in to comment.