Change-Id: I9c3a940533041424c38d72611947f63347175c64
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
DSBufferManagerPrivate::DSBufferManagerPrivate(DSBufferManager *p_ptr)
: DSObjectPrivate(p_ptr),
- __p_ptr(p_ptr)
+ __p_ptr(p_ptr),
+ __wlTbmServer(nullptr)
{
tbm_bufmgr bufmgr = nullptr;
DSLOG_ERR("DSBufferManagerPrivate", "fail to get tbm_bufmgr");
}
- if (bufmgr)
+ if (__waylandCompositor && bufmgr)
tbm_bufmgr_bind_native_display(bufmgr, __waylandCompositor->display());
}