update monado version

This commit is contained in:
Patrick Nicolas
2023-03-02 09:20:14 +01:00
parent 491c52902f
commit 4164ac1780
2 changed files with 9 additions and 10 deletions
+8 -9
View File
@@ -47,20 +47,19 @@ struct wivrn_comp_target_factory : public comp_target_factory
fps(fps)
{}
static bool detect(struct comp_target_factory * ctf, struct comp_compositor * c)
static bool detect(const struct comp_target_factory * ctf, struct comp_compositor * c)
{
return true;
}
}
static bool create_target(struct comp_target_factory *ctf, struct comp_compositor *c, struct comp_target **out_ct)
{
auto self = (wivrn_comp_target_factory*)ctf;
*out_ct = comp_target_wivrn_create(self->session, c, self->fps);
return true;
}
static bool create_target(const struct comp_target_factory * ctf, struct comp_compositor * c, struct comp_target ** out_ct)
{
auto self = (wivrn_comp_target_factory *)ctf;
*out_ct = comp_target_wivrn_create(self->session, c, self->fps);
return true;
}
};
xrt::drivers::wivrn::wivrn_session::wivrn_session(xrt::drivers::wivrn::TCP && tcp, in6_addr & address) :
connection(std::move(tcp), address)
{