aboutsummaryrefslogtreecommitdiff
path: root/stockton-render/src/draw/context.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
commit4cfa1bf05616089e166e252c5f583f20274658e9 (patch)
treebbce28bb7284289fec185398421db6a0519e9837 /stockton-render/src/draw/context.rs
parent9f6b7a10e7e00edf6ab50a9cf162b377d84a43f6 (diff)
refactor(all): remove render-quad and optimise imports
Diffstat (limited to 'stockton-render/src/draw/context.rs')
-rw-r--r--stockton-render/src/draw/context.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/stockton-render/src/draw/context.rs b/stockton-render/src/draw/context.rs
index d4b1f84..b76bed7 100644
--- a/stockton-render/src/draw/context.rs
+++ b/stockton-render/src/draw/context.rs
@@ -25,7 +25,6 @@ use std::{
};
use winit::window::Window;
use arrayvec::ArrayVec;
-use image::RgbaImage;
use hal::{
prelude::*,
@@ -56,9 +55,6 @@ const COLOR_RANGE: hal::image::SubresourceRange = hal::image::SubresourceRange {
layers: 0..1,
};
-/// Size of texturestore. This needs to sync up with the array size in the fragment shader
-const INITIAL_TEX_SIZE: usize = 2;
-
/// Initial size of vertex buffer. TODO: Way of overriding this
const INITIAL_VERT_SIZE: u64 = 3 * 3000;