Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christoph Haag
gxr
Commits
cde49179
Commit
cde49179
authored
Oct 03, 2022
by
Christoph Haag
Browse files
openxr-context: OpenXR validation: Initialize configuration_views
parent
203c7061
Pipeline
#703157
passed with stages
in 1 minute and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/openxr/openxr-context.c
View file @
cde49179
...
...
@@ -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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment