examples: Fix error description in texture example (#696)
fix error description in texture example
This commit is contained in:
parent
826bc89775
commit
aca947df12
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue