Disable wasm / webgpu building of wireframe example (#8678)

# Objective

Remove the wireframe example on the WebGPU examples page as it does not
render properly. When run in a browser it will render to all white cube
due PolygonMode::LINE not being supported in WebGPU.

Relevant docs:

https://wgpu.rs/doc/wgpu/struct.Features.html#associatedconstant.POLYGON_MODE_LINE

When Rendered with WebGPU:
<img width="675" alt="image"
src="https://github.com/bevyengine/bevy/assets/644930/86c7623c-3e18-42d2-8231-099da10cf6c4">

## Solution

Disable this example when building for WebGPU / wasm.
This commit is contained in:
Martin Lysell 2023-05-29 17:32:11 +02:00 committed by GitHub
parent 6b292d4263
commit 1b6de76bfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -716,7 +716,7 @@ path = "examples/3d/wireframe.rs"
name = "Wireframe"
description = "Showcases wireframe rendering"
category = "3D Rendering"
wasm = true
wasm = false
[[example]]
name = "no_prepass"