diff options
Diffstat (limited to 'loader')
| -rw-r--r-- | loader/loader.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/loader.c b/loader/loader.c index 304a9d5a..96b01202 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -2931,6 +2931,8 @@ VkResult VKAPI loader_CreateDevice( char **filtered_extension_names = NULL; VkResult res; + assert(pCreateInfo->queueRecordCount >= 1); + if (!icd->CreateDevice) { return VK_ERROR_INITIALIZATION_FAILED; } |
