mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +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,
|
||||
GetPhysicalDeviceSurfaceSupportKHR);
|
||||
GET_PROC_ADDRESS_REQUIRED (swapper, device,
|
||||
GET_PROC_ADDRESS_REQUIRED (swapper, instance,
|
||||
GetPhysicalDeviceSurfaceCapabilitiesKHR);
|
||||
GET_PROC_ADDRESS_REQUIRED (swapper, device,
|
||||
GET_PROC_ADDRESS_REQUIRED (swapper, instance,
|
||||
GetPhysicalDeviceSurfaceFormatsKHR);
|
||||
GET_PROC_ADDRESS_REQUIRED (swapper, device,
|
||||
GET_PROC_ADDRESS_REQUIRED (swapper, instance,
|
||||
GetPhysicalDeviceSurfacePresentModesKHR);
|
||||
GET_PROC_ADDRESS_REQUIRED (swapper, device, CreateSwapchainKHR);
|
||||
GET_PROC_ADDRESS_REQUIRED (swapper, device, DestroySwapchainKHR);
|
||||
|
|
Loading…
Reference in a new issue