summaryrefslogtreecommitdiff
path: root/src/gem.cpp
diff options
context:
space:
mode:
authorPancakeTAS <pancake@mgnet.work>2026-06-25 07:23:27 +0200
committerPancakeTAS <pancake@mgnet.work>2026-06-25 07:23:27 +0200
commit8912828f487129f67a585ea5aab68380aa7c817d (patch)
treee2ca119382451aa2cc924a08f6b5733fb7009d61 /src/gem.cpp
parentImplement GEM objects and dumb buffers (diff)
Large documentation overhaul & main DRM device
Diffstat (limited to '')
-rw-r--r--src/gem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gem.cpp b/src/gem.cpp
index 4b81703..0572c3b 100644
--- a/src/gem.cpp
+++ b/src/gem.cpp
@@ -78,7 +78,7 @@ void Object::destruct() noexcept {
/* Dumb buffer class */
DumbBuffer::DumbBuffer(int fd, u32 width, u32 height, u32 bpp)
- : Object(fd, -1), m_width(width), m_height(height), m_bpp(bpp) {
+ : Object(fd), m_width(width), m_height(height), m_bpp(bpp) {
drm_mode_create_dumb args{
.height = height,
.width = width,