Fix broken code behind wasm feature flag in blend_modes example (#7945)
This commit is contained in:
		
							parent
							
								
									c09a9f0c73
								
							
						
					
					
						commit
						f3cf734659
					
				| @ -24,7 +24,7 @@ fn main() { | ||||
|     // Since this example uses HDR, we must disable MSAA for WASM builds, at least
 | ||||
|     // until WebGPU is ready and no longer behind a feature flag in Web browsers.
 | ||||
|     #[cfg(target_arch = "wasm32")] | ||||
|     app.insert_resource(Msaa { samples: 1 }); // Default is 4 samples (MSAA on)
 | ||||
|     app.insert_resource(Msaa::Off); | ||||
| 
 | ||||
|     app.run(); | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 ira
						ira