projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a77ad5
)
loader: initialize result for xglCreateInstance().
author
Ian Elliott
<ian@LunarG.com>
Thu, 19 Feb 2015 22:49:03 +0000
(15:49 -0700)
committer
Ian Elliott
<ian@lunarg.com>
Thu, 19 Feb 2015 23:39:52 +0000
(16:39 -0700)
loader/loader.c
patch
|
blob
|
history
diff --git
a/loader/loader.c
b/loader/loader.c
index
cbfd66e
..
6d87795
100644
(file)
--- a/
loader/loader.c
+++ b/
loader/loader.c
@@
-936,7
+936,7
@@
LOADER_EXPORT XGL_RESULT XGLAPI xglCreateInstance(
struct loader_instance *ptr_instance = NULL;
struct loader_scanned_icds *scanned_icds;
struct loader_icd *icd;
- XGL_RESULT res;
+ XGL_RESULT res
= XGL_ERROR_INITIALIZATION_FAILED
;
/* Scan/discover all ICD libraries in a single-threaded manner */
loader_platform_thread_once(&once_icd, loader_icd_scan);