Skip to content

Commit

Permalink
fully commenting out the is_init stuff until further notice
Browse files Browse the repository at this point in the history
  • Loading branch information
msparkles committed May 6, 2024
1 parent cb0dd4b commit e99d432
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/yakui-app/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ pub struct Graphics {

window: yakui_winit::YakuiWinit,
pub renderer: yakui_wgpu::YakuiWgpu,

/*
/// Tracks whether winit is still initializing
is_init: bool,
*/
}

impl Graphics {
Expand Down Expand Up @@ -105,8 +106,7 @@ impl Graphics {

renderer,
window,

is_init: true,
/*is_init: true,*/
}
}

Expand Down Expand Up @@ -203,9 +203,9 @@ impl Graphics {
// and causing issues.
//
// https://github.com/rust-windowing/winit/issues/2094
if self.is_init {
/*if self.is_init {
return false;
}
}*/

self.resize(*size);
}
Expand Down

0 comments on commit e99d432

Please sign in to comment.