diff options
-rw-r--r-- | src/rba_adapter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rba_adapter.cpp b/src/rba_adapter.cpp index 120d032..0583f92 100644 --- a/src/rba_adapter.cpp +++ b/src/rba_adapter.cpp @@ -52,12 +52,11 @@ bool rba_adapter_initialize(void) weston_log("RBAmodel is NULL\n"); return false; } - arb = new rba::RBAArbitrator(); + arb = new rba::RBAArbitrator(model); if (arb == nullptr) { weston_log("RBAArbitrator is NULL\n"); return false; } - arb->setModel(model); return true; } weston_log("RBAArbitrator model is already created\n"); |