summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@iki.fi>2015-09-29 22:40:44 +0300
committerTomi Valkeinen <tomi.valkeinen@iki.fi>2015-10-01 19:40:22 +0300
commitece9bc78c40b26e0ae43d64543f820789fecf40d (patch)
tree181f2688fa368e2cf84c1f9a4e4cadd79e60309e /tests
parent856fa561b15cec79fd01a641c9f21be95dcc32cb (diff)
Add Crtc::page_flip()
Diffstat (limited to 'tests')
-rw-r--r--tests/db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/db.cpp b/tests/db.cpp
index 5df104d..bfefcb8 100644
--- a/tests/db.cpp
+++ b/tests/db.cpp
@@ -79,7 +79,7 @@ public:
r = ctx.commit(this);
ASSERT(r == 0);
} else {
- int r = drmModePageFlip(card.fd(), m_crtc->id(), fb->id(), DRM_MODE_PAGE_FLIP_EVENT, this);
+ int r = crtc->page_flip(*fb, this);
ASSERT(r == 0);
}
}