diff --git a/README.md b/README.md index a1f49cd..79495f7 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ see [example](https://github.com/greggman/node-webgpu/tree/main/example) You can pass dawn options in `create` ```js -let navigator = { +globalThis.navigator = { gpu: create([ "enable-dawn-features=allow_unsafe_apis,dump_shaders,disable_symbol_renaming", ]),