Update experimental builders
This commit is contained in:
parent
7d5d20017b
commit
cbc96b27b9
|
@ -665,8 +665,9 @@ impl<'a> PhysicalDeviceWaveLimitPropertiesAmdBuilder<'a> {
|
||||||
T: ExtendsPhysicalDeviceWaveLimitPropertiesAmd,
|
T: ExtendsPhysicalDeviceWaveLimitPropertiesAmd,
|
||||||
{
|
{
|
||||||
unsafe {
|
unsafe {
|
||||||
let next_ptr = next as *mut _ as *mut BaseOutStructure;
|
let next_ptr = next as *mut T as *mut BaseOutStructure;
|
||||||
(*next_ptr).p_next = self.inner.p_next as _;
|
let last_next = ptr_chain_iter(next).last().unwrap();
|
||||||
|
(*last_next).p_next = self.inner.p_next as _;
|
||||||
self.inner.p_next = next_ptr as _;
|
self.inner.p_next = next_ptr as _;
|
||||||
}
|
}
|
||||||
self
|
self
|
||||||
|
|
Loading…
Reference in a new issue