summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libkms++/dumbframebuffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libkms++/dumbframebuffer.h b/libkms++/dumbframebuffer.h
index c3c0adb..ea82755 100644
--- a/libkms++/dumbframebuffer.h
+++ b/libkms++/dumbframebuffer.h
@@ -16,6 +16,7 @@ public:
PixelFormat format() const { return m_format; }
+ uint32_t handle(unsigned plane) const { return m_planes[plane].handle; }
uint8_t* map(unsigned plane) const { return m_planes[plane].map; }
uint32_t stride(unsigned plane) const { return m_planes[plane].stride; }
uint32_t size(unsigned plane) const { return m_planes[plane].size; }