From 02c3df2efcd209afa1f55de2b652e501dfd7b865 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Mon, 28 Sep 2015 10:02:10 +0300 Subject: db: use atomic pageflip --- libkms++/atomicreq.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libkms++/atomicreq.cpp') diff --git a/libkms++/atomicreq.cpp b/libkms++/atomicreq.cpp index 3346af9..236e501 100644 --- a/libkms++/atomicreq.cpp +++ b/libkms++/atomicreq.cpp @@ -54,10 +54,9 @@ int AtomicReq::test() return drmModeAtomicCommit(m_card.fd(), m_req, flags, 0); } -int AtomicReq::commit() +int AtomicReq::commit(void* data) { uint32_t flags = DRM_MODE_PAGE_FLIP_EVENT; - void* data = 0; return drmModeAtomicCommit(m_card.fd(), m_req, flags, data); } -- cgit v1.2.3