Skip to content
Snippets Groups Projects
Commit 27da7129 authored by Christoph Haag's avatar Christoph Haag
Browse files

openxr-context: OpenXR validation: Initialize configuration_views

parent e9e5b044
No related branches found
No related tags found
1 merge request!27openxr fixes
Pipeline #711178 passed
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment