mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
vkswapper: get the function pointers from the correct object
GetPhysicalDevice* functions are instance functions rather than device functions.
This commit is contained in:
parent
d067ed8a9e
commit
72e956fe5e
1 changed files with 3 additions and 3 deletions
|
@ -68,11 +68,11 @@ _get_function_table (GstVulkanSwapper * swapper)
|
||||||
|
|
||||||
GET_PROC_ADDRESS_REQUIRED (swapper, instance,
|
GET_PROC_ADDRESS_REQUIRED (swapper, instance,
|
||||||
GetPhysicalDeviceSurfaceSupportKHR);
|
GetPhysicalDeviceSurfaceSupportKHR);
|
||||||
GET_PROC_ADDRESS_REQUIRED (swapper, device,
|
GET_PROC_ADDRESS_REQUIRED (swapper, instance,
|
||||||
GetPhysicalDeviceSurfaceCapabilitiesKHR);
|
GetPhysicalDeviceSurfaceCapabilitiesKHR);
|
||||||
GET_PROC_ADDRESS_REQUIRED (swapper, device,
|
GET_PROC_ADDRESS_REQUIRED (swapper, instance,
|
||||||
GetPhysicalDeviceSurfaceFormatsKHR);
|
GetPhysicalDeviceSurfaceFormatsKHR);
|
||||||
GET_PROC_ADDRESS_REQUIRED (swapper, device,
|
GET_PROC_ADDRESS_REQUIRED (swapper, instance,
|
||||||
GetPhysicalDeviceSurfacePresentModesKHR);
|
GetPhysicalDeviceSurfacePresentModesKHR);
|
||||||
GET_PROC_ADDRESS_REQUIRED (swapper, device, CreateSwapchainKHR);
|
GET_PROC_ADDRESS_REQUIRED (swapper, device, CreateSwapchainKHR);
|
||||||
GET_PROC_ADDRESS_REQUIRED (swapper, device, DestroySwapchainKHR);
|
GET_PROC_ADDRESS_REQUIRED (swapper, device, DestroySwapchainKHR);
|
||||||
|
|
Loading…
Reference in a new issue