X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Frba_adapter.cpp;h=0583f926b8a1b2a154e05ab322646343ca93cac1;hb=c122c31b795ed6be5da28861fa2a0231f384f369;hp=120d03221df1208c62575a739ec83870b5d3cb68;hpb=79bc7999332d55b724056a85264fb5241849606d;p=src%2Fagl-compositor.git 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");