]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/external-libkmsxx.git/commitdiff
db: use the configured mode, not default
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 7 Dec 2015 19:01:43 +0000 (21:01 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 12 Jan 2016 12:52:37 +0000 (14:52 +0200)
tests/db.cpp

index 4a7846cb5ce47d1bbe0b6a645190830fe5f50ccf..2ac2138440b530f268db3389d7f1e5cd08b6054d 100644 (file)
@@ -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) {