gpu: update defaults/optionality for SwapChainDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
e00ae67875
commit
8ec20d020e
1 changed files with 3 additions and 1 deletions
|
|
@ -36,5 +36,7 @@ pub const SwapChainDescriptor = extern struct {
|
||||||
width: u32,
|
width: u32,
|
||||||
height: u32,
|
height: u32,
|
||||||
present_mode: PresentMode,
|
present_mode: PresentMode,
|
||||||
implementation: u64,
|
|
||||||
|
/// Deprecated
|
||||||
|
implementation: u64 = 0,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue