gpu: convert Surface from enum(usize) to *opaque
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8719bab867
commit
b95f0cc41a
2 changed files with 48 additions and 53 deletions
|
|
@ -72,7 +72,7 @@ pub const RenderPassTimestampWrite = extern struct {
|
|||
|
||||
pub const RequestAdapterOptions = extern struct {
|
||||
next_in_chain: *const types.ChainedStruct,
|
||||
compatible_surface: surface.Surface = surface.Surface.none, // nullable
|
||||
compatible_surface: ?surface.Surface,
|
||||
power_preference: types.PowerPreference,
|
||||
force_fallback_adapter: bool,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue