From 3f4375a14218796cbd7bfff1c8cfff0f7bb1f6df Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Sun, 2 Feb 2025 19:58:26 +0100 Subject: change .editorconfig --- src/screen/drm/frame-buffer/pixelformat.zig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/screen/drm/frame-buffer/pixelformat.zig') diff --git a/src/screen/drm/frame-buffer/pixelformat.zig b/src/screen/drm/frame-buffer/pixelformat.zig index a4b3f9a..ec98900 100644 --- a/src/screen/drm/frame-buffer/pixelformat.zig +++ b/src/screen/drm/frame-buffer/pixelformat.zig @@ -1,11 +1,11 @@ fn pixel_format_code(comptime a: u8, comptime b: u8, comptime c: u8, comptime d: u8) u32 { - return @as(u32, @intCast(a)) | - (@as(u32, @intCast(b)) << 8) | - (@as(u32, @intCast(c)) << 16) | - (@as(u32, @intCast(d)) << 24); + return @as(u32, @intCast(a)) | + (@as(u32, @intCast(b)) << 8) | + (@as(u32, @intCast(c)) << 16) | + (@as(u32, @intCast(d)) << 24); } pub const PixelFormat = enum(u32) { - xrgb8888 = pixel_format_code('X', 'R', '2', '4'), + xrgb8888 = pixel_format_code('X', 'R', '2', '4'), }; -- cgit v1.2.3-70-g09d2