summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {