diff options
author | tcmal <me@aria.rip> | 2024-08-25 17:44:21 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-25 17:44:21 +0100 |
commit | 83e4ac1499b548957c554f740934b9b2a02310aa (patch) | |
tree | c890dc4ca220a4ee53b88a729472050e6da0b9b9 /stockton-render/src/draw/texture/image.rs | |
parent | 95708732572431dc057a9fd71fa8bd8571a336a2 (diff) |
refactor(all): 2018 edition
Diffstat (limited to 'stockton-render/src/draw/texture/image.rs')
-rw-r--r-- | stockton-render/src/draw/texture/image.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stockton-render/src/draw/texture/image.rs b/stockton-render/src/draw/texture/image.rs index 9a196a7..4a0fa08 100644 --- a/stockton-render/src/draw/texture/image.rs +++ b/stockton-render/src/draw/texture/image.rs @@ -31,8 +31,8 @@ use hal::{ use image::RgbaImage; use std::{convert::TryInto, iter::once}; +use crate::draw::buffer::create_buffer; use crate::types::*; -use draw::buffer::create_buffer; /// The size of each pixel in an image const PIXEL_SIZE: usize = size_of::<image::Rgba<u8>>(); |