diff options
Diffstat (limited to 'kms++/inc')
-rw-r--r-- | kms++/inc/kms++/extframebuffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kms++/inc/kms++/extframebuffer.h b/kms++/inc/kms++/extframebuffer.h index 89551c3..cee82d3 100644 --- a/kms++/inc/kms++/extframebuffer.h +++ b/kms++/inc/kms++/extframebuffer.h @@ -10,9 +10,9 @@ class ExtFramebuffer : public MappedFramebuffer { public: ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format, - uint32_t handles[4], uint32_t pitches[4], uint32_t offsets[4]); + std::vector<uint32_t> handles, std::vector<uint32_t> pitches, std::vector<uint32_t> offsets); ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format, - int fds[4], uint32_t pitches[4], uint32_t offsets[4]); + std::vector<int> fds, std::vector<uint32_t> pitches, std::vector<uint32_t> offsets); virtual ~ExtFramebuffer(); uint32_t width() const { return Framebuffer::width(); } |