gpu: fix example build (#663)
This commit is contained in:
parent
2271c78fd6
commit
cf8922cc33
2 changed files with 3 additions and 3 deletions
|
|
@ -92,7 +92,7 @@ pub fn setup(allocator: std.mem.Allocator) !Setup {
|
|||
var response: ?RequestAdapterResponse = null;
|
||||
instance.?.requestAdapter(&gpu.RequestAdapterOptions{
|
||||
.compatible_surface = surface,
|
||||
.power_preference = .undef,
|
||||
.power_preference = .undefined,
|
||||
.force_fallback_adapter = false,
|
||||
}, &response, requestAdapterCallback);
|
||||
if (response.?.status != .success) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue