summaryrefslogtreecommitdiff
path: root/src/screen/drm/card.zig
diff options
context:
space:
mode:
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(