Refactor: Fix minor clippy warning
This commit is contained in:
parent
bf1fc24011
commit
25b80b0d6d
1 changed files with 2 additions and 2 deletions
|
@ -1679,8 +1679,8 @@ impl VulkanApp {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
unsafe {
|
||||||
let data_ptr_vertices: &mut [Vertex; 3] = unsafe { std::mem::transmute(data_ptr) };
|
let data_ptr_vertices: *mut [Vertex; 3] = std::mem::transmute(data_ptr);
|
||||||
*data_ptr_vertices = VERTICES;
|
*data_ptr_vertices = VERTICES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue