~bl4ckb0ne/wxrc

537278fea0888711518ae0630c243d0d11b98467 — Simon Zeni 6 months ago f23b208
display: initialize XrViewConfigurationView array
1 files changed, 4 insertions(+), 0 deletions(-)

M src/display.c
M src/display.c => src/display.c +4 -0
@@ 459,6 459,10 @@ wxrc_display_create(struct wxrc_server *server)
		.next = NULL,
	};

	for (uint32_t i = 0; i < nviews; ++i) {
		display->configs[i].type = XR_TYPE_VIEW_CONFIGURATION_VIEW;
	}

	r = xrEnumerateViewConfigurationViews(server->instance, server->system_id,
		type, nviews, &nviews, display->configs);
	if (XR_FAILED(r)) {