From d7d0f0277c437004ed476393542da39c84c5cf9f Mon Sep 17 00:00:00 2001 From: tcmal Date: Sun, 25 Aug 2024 17:44:22 +0100 Subject: chore(render): update hal and fix some errors --- stockton-render/src/draw/draw_buffers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stockton-render/src/draw/draw_buffers.rs') diff --git a/stockton-render/src/draw/draw_buffers.rs b/stockton-render/src/draw/draw_buffers.rs index bba69df..67687dd 100644 --- a/stockton-render/src/draw/draw_buffers.rs +++ b/stockton-render/src/draw/draw_buffers.rs @@ -21,7 +21,7 @@ pub struct DrawBuffers<'a, T: Sized> { impl<'a, T> DrawBuffers<'a, T> { pub fn new( - device: &mut Device, + device: &mut DeviceT, adapter: &Adapter, ) -> Result, CreationError> { let vert = StagedBuffer::new(device, &adapter, Usage::VERTEX, INITIAL_VERT_SIZE)?; @@ -33,7 +33,7 @@ impl<'a, T> DrawBuffers<'a, T> { }) } - pub fn deactivate(self, device: &mut Device) { + pub fn deactivate(self, device: &mut DeviceT) { unsafe { use core::ptr::read; -- cgit v1.2.3