Commit cde49179 authored by Christoph Haag's avatar Christoph Haag
Browse files

openxr-context: OpenXR validation: Initialize configuration_views

parent 203c7061
Pipeline #703157 passed with stages
in 1 minute and 42 seconds
......@@ -340,6 +340,11 @@ _set_up_views (OpenXRContext* self)
self->configuration_views =
malloc(sizeof(XrViewConfigurationView) * self->view_count);
for (uint32_t i = 0; i < self->view_count; i++)
{
self->configuration_views[i].type = XR_TYPE_VIEW_CONFIGURATION_VIEW;
self->configuration_views[i].next = NULL;
}
result = xrEnumerateViewConfigurationViews(
self->instance, self->system_id, self->view_config_type, self->view_count,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment