aboutsummaryrefslogtreecommitdiff
path: root/stockton-render/src/window.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:23 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:23 +0100
commit6eb9083b1f2fec63e17dc8ef462ea89bae0854b5 (patch)
tree814f670c38040c37408db06b66c9cb24550393e9 /stockton-render/src/window.rs
parent6ef351de4ba506e7f0f285569aa0e22255bb68c6 (diff)
feat(render): ui draw pass
Diffstat (limited to 'stockton-render/src/window.rs')
-rw-r--r--stockton-render/src/window.rs4
1 files changed, 0 insertions, 4 deletions
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),