The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

st/oxr: Correctly validate view configurations

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2612>

+1
+1
src/xrt/state_trackers/oxr/oxr_api_system.c
··· 147 147 OXR_VERIFY_INSTANCE_AND_INIT_LOG(&log, instance, inst, "xrGetViewConfigurationProperties"); 148 148 OXR_VERIFY_ARG_TYPE_AND_NOT_NULL(&log, configurationProperties, XR_TYPE_VIEW_CONFIGURATION_PROPERTIES); 149 149 OXR_VERIFY_SYSTEM_AND_GET(&log, inst, systemId, sys); 150 + OXR_VERIFY_VIEW_CONFIG_TYPE(&log, inst, viewConfigurationType); 150 151 151 152 return oxr_system_get_view_conf_properties(&log, sys, viewConfigurationType, configurationProperties); 152 153 }