projects
/
platform
/
upstream
/
Vulkan-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
189762f
)
gni
author
Christophe
<christophe@lunarg.com>
Wed, 1 Feb 2023 17:40:42 +0000
(18:40 +0100)
committer
Charles Giessen
<46324611+charles-lunarg@users.noreply.github.com>
Tue, 14 Feb 2023 17:30:44 +0000
(10:30 -0700)
loader/loader.c
patch
|
blob
|
history
diff --git
a/loader/loader.c
b/loader/loader.c
index 7d39a0489e2f453c4a18e8e11e12f02b1a0b366a..0c2dcfe7dda1e74e573faaf5c6ae275b8d02f1a0 100644
(file)
--- a/
loader/loader.c
+++ b/
loader/loader.c
@@
-4712,7
+4712,7
@@
VkResult loader_create_instance_chain(const VkInstanceCreateInfo *pCreateInfo, c
if (pCreateInfo->enabledLayerCount > 0 && pCreateInfo->ppEnabledLayerNames != NULL) {
inst->enabled_layer_count = pCreateInfo->enabledLayerCount;
- inst->enabled_layer_names = pCreateInfo->ppEnabledLayerNames;
+ inst->enabled_layer_names =
(char**)
pCreateInfo->ppEnabledLayerNames;
/*
inst->enabled_layer_names = (char **)loader_instance_heap_alloc(inst, sizeof(char *) * pCreateInfo->enabledLayerCount,
VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE);