mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Initialize device extension checks early
They need to be initialized before attempting to load the function pointers.
This commit is contained in:
parent
75f19f7243
commit
66e7336b62
1 changed files with 2 additions and 2 deletions
|
@ -195,13 +195,13 @@ QFV_CreateDevice (vulkan_ctx_t *ctx, const char **extensions)
|
|||
if (ifunc->vkCreateDevice (physdev, &dCreateInfo, 0,
|
||||
&device->dev) == VK_SUCCESS) {
|
||||
qfv_devfuncs_t *dfunc = device->funcs;
|
||||
device->enabled_extensions = new_strset (ext);
|
||||
device->extension_enabled = device_extension_enabled;
|
||||
|
||||
device->physDev = physdev;
|
||||
load_device_funcs (inst, device);
|
||||
device->queueFamily = family;
|
||||
dfunc->vkGetDeviceQueue (device->dev, family, 0, &device->queue);
|
||||
device->enabled_extensions = new_strset (ext);
|
||||
device->extension_enabled = device_extension_enabled;
|
||||
ctx->device = device;
|
||||
return device;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue