From ece9bc78c40b26e0ae43d64543f820789fecf40d Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Tue, 29 Sep 2015 22:40:44 +0300 Subject: Add Crtc::page_flip() --- tests/db.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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); } } -- cgit v1.2.3