Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed potential NULL-pointer access when creating a new image
`is_vk_call_successful` returns true even if the result of `vkCreateImage` is `VK_ERROR_VALIDATION_FAILED_EXT`. The specification doesn't mention it as a valid return code, but in some cases it can be returned by the Nvidia drivers anyway, in which case `m_image` will be NULL.
- Loading branch information