Go through vkEnumeratePhysicalDevices funcptr

This commit is contained in:
twinaphex 2016-02-29 05:37:14 +01:00
parent cf03851cc8
commit 2a621a8424

View File

@ -1046,7 +1046,7 @@ bool vulkan_context_init(gfx_ctx_vulkan_data_t *vk,
if (!gpus)
return false;
if (vkEnumeratePhysicalDevices(vk->context.instance,
if (vk->fp.vkEnumeratePhysicalDevices(vk->context.instance,
&gpu_count, gpus) != VK_SUCCESS)
return false;