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
+1 -1
View File
@@ -74,7 +74,7 @@ FetchContent_Declare(tinygltf URL https://github.com/syoyo/tinygltf/archive/refs
FetchContent_Declare(boostpfr URL https://github.com/boostorg/pfr/archive/refs/tags/2.0.3.tar.gz)
FetchContent_Declare(monado
GIT_REPOSITORY https://gitlab.freedesktop.org/monado/monado
GIT_TAG 559e1459349d813f6ebaa7ba327007f40b4e6ef1
GIT_TAG 3c1880448e7d23c9ecebbd08a31394c5f3ee4713
)
+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)
{