diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-06-09 09:14:48 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-06-18 10:22:55 -0600 |
| commit | 1593b865469cf0f4bd78ace6f26413158ce2d339 (patch) | |
| tree | 5870f59a916080e4752095e4d85da25222ef4b51 /loader | |
| parent | ee1014fd16d1c59d489657f68d8bd8113925a0dd (diff) | |
| download | usermoji-1593b865469cf0f4bd78ace6f26413158ce2d339.tar.xz | |
loader: only search for layers
Diffstat (limited to 'loader')
| -rw-r--r-- | loader/loader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/loader/loader.c b/loader/loader.c index 2c5e663e..f7ca0872 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -466,7 +466,8 @@ static void loader_search_ext_list_for_name( { for (uint32_t i = 0; i < search_list->count; i++) { struct loader_extension_property *ext_prop = &search_list->list[i]; - if (0 == strcmp(ext_prop->info.name, ext_name)) { + if (ext_prop->origin == VK_EXTENSION_ORIGIN_LAYER && + 0 == strcmp(ext_prop->info.name, ext_name)) { /* Found an extension with the same name, add to found_list */ loader_add_to_ext_list(found_list, 1, &search_list->list[i]); } |
