mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 08:13:27 +00:00
refactor(web): satisfy unused_qualifications
(#6121)
This commit is contained in:
parent
23e7846400
commit
abc56417bb
@ -95,12 +95,8 @@ impl Instance {
|
||||
|
||||
fn create_context_options() -> js_sys::Object {
|
||||
let context_options = js_sys::Object::new();
|
||||
js_sys::Reflect::set(
|
||||
&context_options,
|
||||
&"antialias".into(),
|
||||
&wasm_bindgen::JsValue::FALSE,
|
||||
)
|
||||
.expect("Cannot create context options");
|
||||
js_sys::Reflect::set(&context_options, &"antialias".into(), &JsValue::FALSE)
|
||||
.expect("Cannot create context options");
|
||||
context_options
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user