Remove external definition of vkGetDeviceProcAddr

This commit is contained in:
EdoardoLuciani 2022-08-25 14:10:11 +01:00
parent 3d68db6ec2
commit 8aa095e25b

View File

@ -778,10 +778,6 @@ FfxErrorCode CreateDeviceVK(FfxFsr2Interface* backendInterface, FfxDevice device
// 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;
}