gpu: correctly target ~60hz, not 62,500hz, in Dawn example

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-12-02 18:05:46 +00:00
parent fd0eeb2662
commit 4ebb4571ac

View file

@ -129,7 +129,7 @@ pub fn main() !void {
.pipeline = pipeline,
.queue = queue,
});
std.time.sleep(16000);
std.time.sleep(16 * std.time.ns_per_ms);
}
}