gpu: update defaults/optionality for SwapChainDescriptor

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-27 00:41:48 -07:00 committed by Stephen Gutekanst
parent e00ae67875
commit 8ec20d020e

View file

@ -36,5 +36,7 @@ pub const SwapChainDescriptor = extern struct {
width: u32,
height: u32,
present_mode: PresentMode,
implementation: u64,
/// Deprecated
implementation: u64 = 0,
};