mach: update to latest mach/gpu API
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8bce5bc0a8
commit
85ddeeed5c
6 changed files with 100 additions and 175 deletions
|
|
@ -42,13 +42,13 @@ pub const Options = struct {
|
|||
vsync: enums.VSyncMode = .double,
|
||||
|
||||
/// GPU features required by the application.
|
||||
required_features: ?[]gpu.Feature = null,
|
||||
required_features: ?[]gpu.FeatureName = null,
|
||||
|
||||
/// GPU limits required by the application.
|
||||
required_limits: ?gpu.Limits = null,
|
||||
|
||||
/// Whether the application has a preference for low power or high performance GPU.
|
||||
power_preference: gpu.PowerPreference = .none,
|
||||
power_preference: gpu.PowerPreference = .undef,
|
||||
};
|
||||
|
||||
pub const Event = union(enum) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue