expose wivrn_comp_target class

This commit is contained in:
Patrick Nicolas
2023-12-14 23:42:08 +01:00
parent a8c8e7f4b9
commit 6e14bac589
3 changed files with 90 additions and 83 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ struct wivrn_comp_target_factory : public comp_target_factory
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);
*out_ct = new wivrn_comp_target(self->session, c, self->fps);
return true;
}
};