mach: fix outdated reference to glfw.Error

This commit is contained in:
Lue 2023-01-11 00:26:21 +00:00 committed by Stephen Gutekanst
parent eed2be4591
commit 91a53807ab

View file

@ -575,7 +575,7 @@ pub const Platform = struct {
}
/// Default GLFW error handling callback
fn errorCallback(error_code: glfw.Error, description: [:0]const u8) void {
fn errorCallback(error_code: glfw.ErrorCode, description: [:0]const u8) void {
std.log.err("glfw: {}: {s}\n", .{ error_code, description });
}
};