Skip to content

Commit

Permalink
fix wasm import
Browse files Browse the repository at this point in the history
  • Loading branch information
IceSentry committed Nov 23, 2023
1 parent 50e19c3 commit 600db4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/bevy_pbr/src/render/mesh_view_bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ use bevy_render::{
view::{Msaa, ViewUniform, ViewUniforms},
};

#[cfg(all(feature = "webgl", target_arch = "wasm32"))]
use bevy_render::render_resource::binding_types::{texture_2d, texture_cube};

use crate::{
environment_map, prepass, EnvironmentMapLight, FogMeta, GlobalLightMeta, GpuFog, GpuLights,
GpuPointLights, LightMeta, MeshPipeline, MeshPipelineKey, ScreenSpaceAmbientOcclusionTextures,
Expand Down

0 comments on commit 600db4c

Please sign in to comment.