The open source OpenXR runtime
0
fork

Configure Feed

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

st/oxr: Remove unused variable in submit_projection_layer

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

-2
-2
src/xrt/state_trackers/oxr/oxr_session_frame_end.c
··· 1305 1305 #ifdef OXR_HAVE_KHR_composition_layer_depth 1306 1306 // Number of depth layers must be 0 or proj->viewCount. 1307 1307 bool d_scs_valid = true; 1308 - struct oxr_swapchain *d_scs[XRT_MAX_VIEWS] = {0}; 1309 1308 struct xrt_swapchain *d_swapchains[XRT_MAX_VIEWS] = {0}; 1310 1309 #else 1311 1310 const bool d_scs_valid = false; ··· 1363 1362 struct oxr_swapchain *sc = 1364 1363 XRT_CAST_OXR_HANDLE_TO_PTR(struct oxr_swapchain *, d_info->subImage.swapchain); 1365 1364 fill_in_sub_image(sc, &d_info->subImage, &data.depth.d[i].sub); 1366 - d_scs[i] = sc; 1367 1365 d_swapchains[i] = sc->swapchain; 1368 1366 } 1369 1367 #endif // OXR_HAVE_KHR_composition_layer_depth