diff options
Diffstat (limited to 'src/screen/drm/buffer/root.zig')
| -rw-r--r-- | src/screen/drm/buffer/root.zig | 2 |
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], }; |