Skip to content

Commit

Permalink
Fix for vulkano-rs#2508
Browse files Browse the repository at this point in the history
  • Loading branch information
Rua committed Mar 30, 2024
1 parent 2897e5f commit 17dfc5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vulkano/src/pipeline/graphics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ impl GraphicsPipeline {

if let Some(info) = conservative_rasterization_state_vk.as_mut() {
info.p_next = create_info_vk.p_next;
create_info_vk.p_next = info as *const _ as *const _;
create_info_vk.p_next = ptr::from_ref(info).cast();
}

if let Some(info) = rendering_create_info_vk.as_mut() {
Expand Down

0 comments on commit 17dfc5d

Please sign in to comment.