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:
40761b0
)
loader: Resolve incorrect error in create instance
author
Lenny Komow
<lenny@lunarg.com>
Mon, 22 Oct 2018 19:16:56 +0000
(13:16 -0600)
committer
Lenny Komow
<lenny@lunarg.com>
Mon, 22 Oct 2018 22:34:00 +0000
(16:34 -0600)
Change-Id: Ib3f99bb150ddf9aaa36cbe08919d737f2636baf6
loader/loader.c
patch
|
blob
|
history
diff --git
a/loader/loader.c
b/loader/loader.c
index ffb58d9ecc9693a4230cbc1a933ae33d56acdb31..0cb26634630eb64e20a7f992f61da6016111c5e4 100644
(file)
--- a/
loader/loader.c
+++ b/
loader/loader.c
@@
-3707,7
+3707,7
@@
static VkResult ReadDataFilesInRegistry(const struct loader_instance *inst, enum
if (VK_SUCCESS == reg_result || VK_ERROR_OUT_OF_HOST_MEMORY == reg_result) {
vk_result = reg_result;
} else {
- vk_result =
VK_ERROR_INCOMPATIBLE_DRIVER
;
+ vk_result =
regHKR_result
;
}
} else {
if (warn_if_not_present) {