FacticiusVir / SharpVk

C# Bindings for the Vulkan API & SPIR-V
MIT License
147 stars 18 forks source link

Don't ignore MemUtil WriteToPtr count parameter #33

Closed Kaktusbot closed 7 years ago

Kaktusbot commented 7 years ago

In VertexBuffer sample this method called with count set to array length, so as I understand it should count number of copied vertices from array, but in method itself its only compared to zero and then all array is copied ignoring count parameter.

FacticiusVir commented 7 years ago

Good catch!