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 ea82755..c836e39 100644
--- a/libkms++/dumbframebuffer.h
+++ b/libkms++/dumbframebuffer.h
@@ -15,6 +15,7 @@ public:
void print_short() const;
PixelFormat format() const { return m_format; }
+ unsigned num_planes() const { return m_num_planes; }
uint32_t handle(unsigned plane) const { return m_planes[plane].handle; }
uint8_t* map(unsigned plane) const { return m_planes[plane].map; }