summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-12-07 21:01:43 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-01-12 14:52:37 +0200
commitf046348793516165ea8cf923faa27f1e0455c3c5 (patch)
tree2c5e0dab30b011eac8f0af830320f1b05e51b49e /tests
parent7eb69193974e771788e7dbce60f15693413cf2bb (diff)
db: use the configured mode, not default
Diffstat (limited to 'tests')
-rw-r--r--tests/db.cpp3
1 files changed, 1 insertions, 2 deletions
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) {