summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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);
}
}