From 6eb9083b1f2fec63e17dc8ef462ea89bae0854b5 Mon Sep 17 00:00:00 2001 From: tcmal Date: Sun, 25 Aug 2024 17:44:23 +0100 Subject: feat(render): ui draw pass --- stockton-render/src/window.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'stockton-render/src/window.rs') diff --git a/stockton-render/src/window.rs b/stockton-render/src/window.rs index 62e43d3..87f3182 100644 --- a/stockton-render/src/window.rs +++ b/stockton-render/src/window.rs @@ -3,7 +3,6 @@ use egui::{Modifiers, Rect, Vec2}; use legion::systems::Runnable; use log::debug; - use egui::{CtxRef, Event, Output, Pos2, RawInput}; use epaint::ClippedShape; use log::error; @@ -73,8 +72,6 @@ impl WindowEvent { pub struct UiState { ctx: CtxRef, raw_input: RawInput, - pub(crate) last_tex_ver: u64, - frame_active: bool, modifiers: Modifiers, @@ -86,7 +83,6 @@ impl UiState { UiState { ctx: CtxRef::default(), raw_input: RawInput::default(), - last_tex_ver: 0, frame_active: false, modifiers: Default::default(), pointer_pos: Pos2::new(0.0, 0.0), -- cgit v1.2.3