glfw: run zig fmt

This commit is contained in:
InKryption 2021-11-24 04:15:08 +01:00 committed by Stephen Gutekanst
parent a6b30b98e2
commit 683c60bdfe

View file

@ -1707,7 +1707,7 @@ pub inline fn getInputMode(self: Window, mode: InputMode) isize {
const value = c.glfwGetInputMode(self.handle, @enumToInt(mode)); const value = c.glfwGetInputMode(self.handle, @enumToInt(mode));
// Possible errors: 'GLFW_NOT_INITIALIZED' and 'GLFW_INVALID_ENUM'; we guarantee both to be unreachable // Possible errors: 'GLFW_NOT_INITIALIZED' and 'GLFW_INVALID_ENUM'; we guarantee both to be unreachable
getError() catch unreachable; getError() catch unreachable;
return @intCast(isize, value); return @intCast(isize, value);
} }