diff options
| author | PancakeTAS <pancake@mgnet.work> | 2026-06-25 07:23:27 +0200 |
|---|---|---|
| committer | PancakeTAS <pancake@mgnet.work> | 2026-06-25 07:23:27 +0200 |
| commit | 8912828f487129f67a585ea5aab68380aa7c817d (patch) | |
| tree | e2ca119382451aa2cc924a08f6b5733fb7009d61 /src/gem.cpp | |
| parent | Implement GEM objects and dumb buffers (diff) | |
Large documentation overhaul & main DRM device
Diffstat (limited to '')
| -rw-r--r-- | src/gem.cpp | 2 |
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, |
