In the tutorial noted, we create the instance and store the result in one line of code:
VkResult result = vkCreateInstance(&createInfo, nullptr, &instance);
And then immediately ignore the result (apparently this is the new preferred method?) and create the instance again:
if (vkCreateInstance(&createInfo, nullptr, &instance) != VK_SUCCESS) {
I assume that either the first part should no longer exist, or the second part should revert to if (result != VK_SUCCESS) {