Skip to content

Commit

Permalink
More fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
tychedelia committed Feb 8, 2025
1 parent 3e55a79 commit c026501
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions bevy_nannou/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use bevy::prelude::*;
pub mod prelude {
pub use bevy::color::palettes::css::*;
pub use bevy::color::*;
pub use bevy::image::*;
pub use bevy::core_pipeline::bloom::*;
pub use bevy::input::mouse::MouseWheel;
pub use bevy::prelude::{
Expand Down
1 change: 0 additions & 1 deletion examples/compute/game_of_life.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
mod particle_mouse;

use nannou::prelude::bevy_render::texture::{ImageSampler, ImageSamplerDescriptor};
use nannou::prelude::*;

const DISPLAY_FACTOR: u32 = 4;
Expand Down
2 changes: 1 addition & 1 deletion examples/wgpu/wgpu_image_sequence/wgpu_image_sequence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ fn render(_app: &RenderApp, model: &Model, frame: Frame) {
let mut render_pass = wgpu::RenderPassBuilder::new()
.color_attachment(frame.resolve_target_view().unwrap(), |color| color)
.begin(&mut encoder);
render_pass.set_bind_group(0, &model.bind_group, &[]);
render_pass.set_bind_group(0, &*model.bind_group, &[]);
render_pass.set_pipeline(&model.render_pipeline);
render_pass.set_vertex_buffer(0, model.vertex_buffer.slice(..));
let vertex_range = 0..VERTICES.len() as u32;
Expand Down
1 change: 1 addition & 0 deletions nannou/src/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ 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::image as bevy_image;
pub use bevy::tasks::prelude::{block_on, AsyncComputeTaskPool, IoTaskPool};
pub use bevy::tasks::{futures_lite::future, Task};

Expand Down

0 comments on commit c026501

Please sign in to comment.