summaryrefslogtreecommitdiff
path: root/src/gem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gem.cpp')
-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,