aboutsummaryrefslogtreecommitdiff
path: root/stockton-render/src/draw/texture/image.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:21 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:21 +0100
commit83e4ac1499b548957c554f740934b9b2a02310aa (patch)
treec890dc4ca220a4ee53b88a729472050e6da0b9b9 /stockton-render/src/draw/texture/image.rs
parent95708732572431dc057a9fd71fa8bd8571a336a2 (diff)
refactor(all): 2018 edition
Diffstat (limited to 'stockton-render/src/draw/texture/image.rs')
-rw-r--r--stockton-render/src/draw/texture/image.rs2
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>>();