From f046348793516165ea8cf923faa27f1e0455c3c5 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Mon, 7 Dec 2015 21:01:43 +0200 Subject: db: use the configured mode, not default --- tests/db.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/db.cpp b/tests/db.cpp index 4a7846c..2ac2138 100644 --- a/tests/db.cpp +++ b/tests/db.cpp @@ -89,9 +89,8 @@ public: void set_mode() { - auto mode = m_connector->get_default_mode(); auto fb = m_flipper.get_next(); - int r = m_crtc->set_mode(m_connector, *fb, mode); + int r = m_crtc->set_mode(m_connector, *fb, m_mode); ASSERT(r == 0); if (m_plane) { -- cgit v1.2.3