pub fn setMode(self: *GraphicsOutput, mode_id: u32) SetModeError!void self: *GraphicsOutputmode_id: u3239
40
41
42
43
44
45
46 pub fn setMode(self: *GraphicsOutput, mode_id: u32) SetModeError!void {
switch (self._set_mode(self, mode_id)) {
.success => {},
.device_error => return error.DeviceError,
.unsupported => return error.Unsupported,
else => |status| return uefi.unexpectedStatus(status),
}
}
Set the video device into the specified mode and clears the visible portions of the output display to black.