mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-22 13:08:12 +08:00
Manually check if web gpu support is available (#1372)
* Manually check if web gpu support is available * Add web-sys features * Disable use of unstable apis for non wasm targets
This commit is contained in:
@@ -77,6 +77,8 @@ features = [
|
||||
"CanvasRenderingContext2d",
|
||||
"ImageData",
|
||||
"Document",
|
||||
"Navigator",
|
||||
"Gpu",
|
||||
"HtmlCanvasElement",
|
||||
"ImageBitmapRenderingContext",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user