summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/mapped_framebuffer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libcamera/internal/mapped_framebuffer.h b/include/libcamera/internal/mapped_framebuffer.h
index 3401a9fc..42479541 100644
--- a/include/libcamera/internal/mapped_framebuffer.h
+++ b/include/libcamera/internal/mapped_framebuffer.h
@@ -30,12 +30,14 @@ public:
bool isValid() const { return error_ == 0; }
int error() const { return error_; }
- const std::vector<Plane> &maps() const { return maps_; }
+ /* \todo rename to planes(). */
+ const std::vector<Plane> &maps() const { return planes_; }
protected:
MappedBuffer();
int error_;
+ std::vector<Plane> planes_;
std::vector<Plane> maps_;
private: