We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4beefd commit 69bb3e6Copy full SHA for 69bb3e6
src/window.rs
@@ -89,7 +89,7 @@ impl GlassWindow {
89
) -> Result<GlassWindow, CreateSurfaceError> {
90
let size = [window.inner_size().width, window.inner_size().height];
91
let surface = context.instance().create_surface(window.clone())?;
92
- let formats = surface.get_capabilities(&context.adapter()).formats;
+ let formats = surface.get_capabilities(context.adapter()).formats;
93
if !formats.contains(&config.surface_format) {
94
panic!(
95
"{:?} not allowed. Allowed formats: {:?}",
0 commit comments