aboutsummaryrefslogtreecommitdiff
path: root/stockton-render/src/draw/draw_buffers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'stockton-render/src/draw/draw_buffers.rs')
-rw-r--r--stockton-render/src/draw/draw_buffers.rs4
1 files changed, 2 insertions, 2 deletions
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<DrawBuffers<'a, T>, 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;