Skip to content

Commit

Permalink
Remove external definition of vkGetDeviceProcAddr
Browse files Browse the repository at this point in the history
  • Loading branch information
EdoardoLuciani committed Apr 16, 2023
1 parent 910789e commit da60d59
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/ffx-fsr2-api/vk/ffx_fsr2_vk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -809,10 +809,6 @@ FfxErrorCode CreateBackendContextVK(FfxFsr2Interface* backendInterface, FfxDevic
// make sure the extra parameters were already passed in
FFX_ASSERT(backendContext->physicalDevice != NULL);

// if vkGetDeviceProcAddr is NULL, use the one from the vulkan header
if (backendContext->vkFunctionTable.vkGetDeviceProcAddr == NULL)
backendContext->vkFunctionTable.vkGetDeviceProcAddr = vkGetDeviceProcAddr;

if (vkDevice != NULL) {
backendContext->device = vkDevice;
}
Expand Down

0 comments on commit da60d59

Please sign in to comment.