From 37b5a8d1abec54c70b542ba42c6d7a39642b467b Mon Sep 17 00:00:00 2001 From: Greeble <166992735+greeble-dev@users.noreply.github.com> Date: Fri, 28 Feb 2025 13:11:31 +0000 Subject: [PATCH] Fixed test failing on WebGL - MSAA and MotionBlur can't be combined. --- tests/3d/invalid_skinned_mesh.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/3d/invalid_skinned_mesh.rs b/tests/3d/invalid_skinned_mesh.rs index 6ce1a3dbc19f7..dfa467c3df4e9 100644 --- a/tests/3d/invalid_skinned_mesh.rs +++ b/tests/3d/invalid_skinned_mesh.rs @@ -68,6 +68,9 @@ fn setup_environment( #[cfg(all(feature = "webgl2", target_arch = "wasm32", not(feature = "webgpu")))] _webgl2_padding: Default::default(), }, + // MSAA and MotionBlur together are not compatible on WebGL. + #[cfg(all(feature = "webgl2", target_arch = "wasm32", not(feature = "webgpu")))] + Msaa::Off, )); // Add a directional light to make sure we exercise the renderer's shadow path.