mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 06:44:14 +00:00
Add raw_adapter method for dx12 hal adapter (#2714)
This commit is contained in:
parent
9e3cd08e59
commit
46420212d7
@ -41,6 +41,10 @@ impl super::Adapter {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn raw_adapter(&self) -> &native::DxgiAdapter {
|
||||
&self.raw
|
||||
}
|
||||
|
||||
#[allow(trivial_casts)]
|
||||
pub(super) fn expose(
|
||||
adapter: native::DxgiAdapter,
|
||||
|
Loading…
Reference in New Issue
Block a user