summaryrefslogtreecommitdiff
path: root/src/screen/drm/card.zig
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2025-02-02 22:24:00 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2025-02-02 22:24:00 +0100
commitfef523a8d7c87f272de18c8abd57e0cc53e2ef40 (patch)
tree7a8472dbdace2d511197da6b5184ec92509ef973 /src/screen/drm/card.zig
parent811a6bd572f4c6b26e99b4e746f5d710947ee934 (diff)
screen: drm change raw buffer interface
Diffstat (limited to 'src/screen/drm/card.zig')
-rw-r--r--src/screen/drm/card.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen/drm/card.zig b/src/screen/drm/card.zig
index cff8edf..ef56142 100644
--- a/src/screen/drm/card.zig
+++ b/src/screen/drm/card.zig
@@ -45,8 +45,8 @@ pub const Card = struct {
return drm.Crtc.init(self, id);
}
- pub fn create_double_buffer(self: *Card, width: u32, height: u32, bpp: u32) !drm.Buffer {
- return drm.Buffer.init(self, width, height, bpp);
+ pub fn create_buffer(self: *Card, width: u32, height: u32) !drm.Buffer {
+ return drm.Buffer.init(self, width, height);
}
pub fn request(