glfw: update to latest Zig API
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
833081e47a
commit
4fdd12d93a
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ pub inline fn waitEventsTimeout(timeout: f64) void {
|
||||||
internal_debug.assertInitialized();
|
internal_debug.assertInitialized();
|
||||||
std.debug.assert(!std.math.isNan(timeout));
|
std.debug.assert(!std.math.isNan(timeout));
|
||||||
std.debug.assert(timeout >= 0);
|
std.debug.assert(timeout >= 0);
|
||||||
std.debug.assert(timeout <= std.math.f64_max);
|
std.debug.assert(timeout <= std.math.floatMax(f64));
|
||||||
c.glfwWaitEventsTimeout(timeout);
|
c.glfwWaitEventsTimeout(timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue