get rid of unused mut warning on extension_names for non-apple targets

This commit is contained in:
Alex Janka 2023-10-14 10:10:44 +11:00
parent 14670bdb54
commit 4128a93f54

View file

@ -43,6 +43,7 @@ impl RendererBackendManager {
let name = std::ffi::CString::new("gameboy").unwrap();
#[allow(unused_mut)]
let mut extension_names = enumerate_required_extensions(display_handle)
.unwrap()
.to_vec();