Skip to content

Commit 69bb3e6

Browse files
committed
Cargo check fix
1 parent b4beefd commit 69bb3e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/window.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ impl GlassWindow {
8989
) -> Result<GlassWindow, CreateSurfaceError> {
9090
let size = [window.inner_size().width, window.inner_size().height];
9191
let surface = context.instance().create_surface(window.clone())?;
92-
let formats = surface.get_capabilities(&context.adapter()).formats;
92+
let formats = surface.get_capabilities(context.adapter()).formats;
9393
if !formats.contains(&config.surface_format) {
9494
panic!(
9595
"{:?} not allowed. Allowed formats: {:?}",

0 commit comments

Comments
 (0)