diff options
Diffstat (limited to 'kms++/src')
-rw-r--r-- | kms++/src/dumbframebuffer.cpp | 2 | ||||
-rw-r--r-- | kms++/src/mappedframebuffer.cpp | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/kms++/src/dumbframebuffer.cpp b/kms++/src/dumbframebuffer.cpp index b21e8ff..9de7ee1 100644 --- a/kms++/src/dumbframebuffer.cpp +++ b/kms++/src/dumbframebuffer.cpp @@ -25,7 +25,7 @@ DumbFramebuffer::DumbFramebuffer(Card &card, uint32_t width, uint32_t height, co } DumbFramebuffer::DumbFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format) - :Framebuffer(card, width, height), m_format(format) + :MappedFramebuffer(card, width, height), m_format(format) { Create(); } diff --git a/kms++/src/mappedframebuffer.cpp b/kms++/src/mappedframebuffer.cpp new file mode 100644 index 0000000..21e082f --- /dev/null +++ b/kms++/src/mappedframebuffer.cpp @@ -0,0 +1,20 @@ +#include <kms++/kms++.h> + +using namespace std; + +namespace kms +{ + +MappedFramebuffer::MappedFramebuffer(Card& card, uint32_t id) + : Framebuffer(card, id) +{ + +} + +MappedFramebuffer::MappedFramebuffer(Card& card, uint32_t width, uint32_t height) + : Framebuffer(card, width, height) +{ + +} + +} |