Skip to content

Commit

Permalink
Fix prelude.
Browse files Browse the repository at this point in the history
  • Loading branch information
tychedelia committed Sep 9, 2024
1 parent d8eb400 commit 7ed39c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion examples/wgpu/wgpu_compute_shader/wgpu_compute_shader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
//! with a gray value equal to the amplitude. Real-time interaction is demonstrated by providing
//! access to time, frequency (mouse `x`) and the number of oscillators via uniform data.

use nannou::prelude::futures_lite::future;
use nannou::prelude::*;
use nannou::wgpu::BufferInitDescriptor;
use std::sync::{Arc, Mutex};
Expand Down
4 changes: 3 additions & 1 deletion nannou/src/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ pub use bevy::asset as bevy_asset;
pub use bevy::ecs as bevy_ecs;
pub use bevy::reflect as bevy_reflect;
pub use bevy::render as bevy_render;
pub use bevy::tasks::prelude::*;
pub use bevy::tasks::{Task, futures_lite::future};
pub use bevy::tasks::prelude::{block_on, AsyncComputeTaskPool, IoTaskPool};

#[cfg(feature = "egui")]
pub use bevy_egui::egui;

Expand Down

0 comments on commit 7ed39c5

Please sign in to comment.