mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 02:20:11 +01:00
radv: UseEnumerateInstanceVersion for the default version.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
467c562a29
commit
ffa15861ef
1 changed files with 1 additions and 1 deletions
|
|
@ -460,7 +460,7 @@ VkResult radv_CreateInstance(
|
|||
pCreateInfo->pApplicationInfo->apiVersion != 0) {
|
||||
client_version = pCreateInfo->pApplicationInfo->apiVersion;
|
||||
} else {
|
||||
client_version = VK_MAKE_VERSION(1, 0, 0);
|
||||
radv_EnumerateInstanceVersion(&client_version);
|
||||
}
|
||||
|
||||
instance = vk_zalloc2(&default_alloc, pAllocator, sizeof(*instance), 8,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue