gl_vk_chopper icon indicating copy to clipboard operation
gl_vk_chopper copied to clipboard

Several calls to vkMapMemory specify an invalid 0 size

Open baldurk opened this issue 10 years ago • 0 comments

As in the title, size 0 to vkMapMemory is invalid according to the spec:

If size is not equal to VK_WHOLE_SIZE, size must be greater than 0

I assume VK_WHOLE_SIZE is what's intended here, so it's an easy substitution.

baldurk avatar Apr 17 '16 08:04 baldurk