projects
/
platform
/
upstream
/
OpenCL-ICD-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7d9330
)
Update icd_windows.c (#51)
author
cos-public
<konstantin.kapustnik@gmail.com>
Sun, 7 Apr 2019 22:38:26 +0000
(
05:08
+0630)
committer
Ben Ashbaugh
<ben.ashbaugh@intel.com>
Sun, 7 Apr 2019 22:38:26 +0000
(15:38 -0700)
Return TRUE from khrIcdOsVendorsEnumerate() even if RegOpenKeyExA() fails to open the key.
icd_windows.c
patch
|
blob
|
history
diff --git
a/icd_windows.c
b/icd_windows.c
index
9c509ea
..
5f89085
100644
(file)
--- a/
icd_windows.c
+++ b/
icd_windows.c
@@
-54,7
+54,7
@@
BOOL CALLBACK khrIcdOsVendorsEnumerate(PINIT_ONCE InitOnce, PVOID Parameter, PVO
if (ERROR_SUCCESS != result)
{
KHR_ICD_TRACE("Failed to open platforms key %s, continuing\n", platformsName);
- return
FALS
E;
+ return
TRU
E;
}
// for each value