c/main: Fix projection layer flags not getting set

This commit is contained in:
Jakob Bornecrantz 2020-10-27 16:00:53 +00:00
parent 5b3bf8ce23
commit 09566cf5fd

View file

@ -492,6 +492,7 @@ comp_renderer_set_projection_layer(struct comp_renderer *r,
comp_layer_set_flip_y(l, data->flip_y); comp_layer_set_flip_y(l, data->flip_y);
l->type = XRT_LAYER_STEREO_PROJECTION; l->type = XRT_LAYER_STEREO_PROJECTION;
l->flags = data->flags;
l->view_space = l->view_space =
(data->flags & XRT_LAYER_COMPOSITION_VIEW_SPACE_BIT) != 0; (data->flags & XRT_LAYER_COMPOSITION_VIEW_SPACE_BIT) != 0;