aboutsummaryrefslogtreecommitdiff
path: root/stockton-render/src/draw/context.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:20 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:20 +0100
commit9806e1d2552b944e809d4f545e5d8bdb6827c144 (patch)
treee2b7273c70b3758079817fcef916a15e72c5425f /stockton-render/src/draw/context.rs
parentc3683cb91a7142be405aa672fcbae4238a3bde72 (diff)
fix(render): fix some validation warnings
Diffstat (limited to 'stockton-render/src/draw/context.rs')
-rw-r--r--stockton-render/src/draw/context.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/stockton-render/src/draw/context.rs b/stockton-render/src/draw/context.rs
index f8a057c..c179f9d 100644
--- a/stockton-render/src/draw/context.rs
+++ b/stockton-render/src/draw/context.rs
@@ -774,6 +774,8 @@ impl<'a> core::ops::Drop for RenderingContext<'a> {
.destroy_render_pass(ManuallyDrop::into_inner(read(&self.renderpass)));
self.device
.destroy_swapchain(ManuallyDrop::into_inner(read(&self.swapchain)));
+
+ self.device.destroy_graphics_pipeline(ManuallyDrop::into_inner(read(&self.pipeline)));
self.device
.destroy_pipeline_layout(ManuallyDrop::into_inner(read(&self.pipeline_layout)));