Skip to content

Commit

Permalink
allow unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
woelper committed Jan 29, 2024
1 parent e52c820 commit c9dead5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ impl EguiExt for Ui {


/// Proof-of-concept funtion to draw texture completely with egui
#[allow(unused)]
pub fn image_ui(ctx: &Context, state: &mut OculanteState, gfx: &mut Graphics) {
if let Some(texture) = &state.current_texture {
let tex_id = gfx.egui_register_texture(texture);
Expand Down

0 comments on commit c9dead5

Please sign in to comment.