mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Always report selected adapter in the framework (#8528)
This commit is contained in:
parent
d0cf78c8c8
commit
07d4db5ab9
@ -282,6 +282,9 @@ impl ExampleContext {
|
||||
// Make sure we use the texture resolution limits from the adapter, so we can support images the size of the surface.
|
||||
let needed_limits = E::required_limits().using_resolution(adapter.limits());
|
||||
|
||||
let info = adapter.get_info();
|
||||
log::info!("Selected adapter: {} ({:?})", info.name, info.backend);
|
||||
|
||||
let (device, queue) = adapter
|
||||
.request_device(&wgpu::DeviceDescriptor {
|
||||
label: None,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user