summaryrefslogtreecommitdiff
path: root/src/screen/drm/buffer/root.zig
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2025-02-12 12:48:11 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2025-02-12 12:48:11 +0100
commit9fd81c0b38b2b843c24fb61bf8cb5b7873deaa72 (patch)
treea2d4d76a4fcc1334d83c5538e684061913be24d3 /src/screen/drm/buffer/root.zig
parentdae5bc02b1c934075e95694953b4330676e21611 (diff)
graphics: add line
Diffstat (limited to 'src/screen/drm/buffer/root.zig')
-rw-r--r--src/screen/drm/buffer/root.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen/drm/buffer/root.zig b/src/screen/drm/buffer/root.zig
index f14ed66..30734f2 100644
--- a/src/screen/drm/buffer/root.zig
+++ b/src/screen/drm/buffer/root.zig
@@ -35,7 +35,7 @@ pub const Buffer = struct {
.width = self.current.width,
.height = self.current.height,
.buffer = @as(
- [*]volatile graphics.Pixel,
+ [*]volatile graphics.Color,
@ptrCast(@alignCast(self.current.bytes))
)[0..self.current.bytes.len / 4],
};