The open source OpenXR runtime
0
fork

Configure Feed

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

Fix an IPC protocol issue on windows when receiving zero HANDLEs

+1 -1
+1 -1
src/xrt/ipc/shared/ipc_utils_windows.cpp
··· 85 85 struct ipc_message_channel *imc, void *out_data, size_t size, HANDLE *out_handles, uint32_t handle_count) 86 86 { 87 87 auto rc = ipc_receive(imc, out_data, size); 88 - if (rc != XRT_SUCCESS || !handle_count) { 88 + if (rc != XRT_SUCCESS) { 89 89 return rc; 90 90 } 91 91 return ipc_receive(imc, out_handles, handle_count * sizeof(*out_handles));