examples: Fix error description in texture example (#696)

fix error description in texture example
This commit is contained in:
HugoPeters1024 2023-01-13 10:03:45 +01:00 committed by Marijn Suijten
parent 826bc89775
commit aca947df12
No known key found for this signature in database
GPG key ID: 449FC1DE031665DA

View file

@ -280,7 +280,7 @@ fn main() {
&base.device_memory_properties, &base.device_memory_properties,
vk::MemoryPropertyFlags::HOST_VISIBLE | vk::MemoryPropertyFlags::HOST_COHERENT, vk::MemoryPropertyFlags::HOST_VISIBLE | vk::MemoryPropertyFlags::HOST_COHERENT,
) )
.expect("Unable to find suitable memorytype for the vertex buffer."); .expect("Unable to find suitable memorytype for the image buffer.");
let image_buffer_allocate_info = vk::MemoryAllocateInfo { let image_buffer_allocate_info = vk::MemoryAllocateInfo {
allocation_size: image_buffer_memory_req.size, allocation_size: image_buffer_memory_req.size,