mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
c/main: Fix projection layer flags not getting set
This commit is contained in:
parent
5b3bf8ce23
commit
09566cf5fd
|
@ -492,6 +492,7 @@ comp_renderer_set_projection_layer(struct comp_renderer *r,
|
|||
comp_layer_set_flip_y(l, data->flip_y);
|
||||
|
||||
l->type = XRT_LAYER_STEREO_PROJECTION;
|
||||
l->flags = data->flags;
|
||||
l->view_space =
|
||||
(data->flags & XRT_LAYER_COMPOSITION_VIEW_SPACE_BIT) != 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue