summaryrefslogtreecommitdiff
path: root/kms++/src
diff options
context:
space:
mode:
Diffstat (limited to 'kms++/src')
-rw-r--r--kms++/src/extframebuffer.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/kms++/src/extframebuffer.cpp b/kms++/src/extframebuffer.cpp
index 0ade454..1af2f62 100644
--- a/kms++/src/extframebuffer.cpp
+++ b/kms++/src/extframebuffer.cpp
@@ -12,17 +12,6 @@ using namespace std;
namespace kms
{
-ExtFramebuffer::ExtFramebuffer(Card& card, uint32_t width, uint32_t height, uint8_t depth, uint8_t bpp, uint32_t stride, uint32_t handle)
- :Framebuffer(card, width, height)
-{
- uint32_t id;
- int r = drmModeAddFB(card.fd(), width, height, depth, bpp, stride, handle, &id);
- if (r)
- throw invalid_argument("fob");
-
- set_id(id);
-}
-
ExtFramebuffer::ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format,
uint32_t handles[], uint32_t pitches[], uint32_t offsets[])
: Framebuffer(card, width, height)