The open source OpenXR runtime
0
fork

Configure Feed

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

misc: Add gui nullcheck and initialize thread running field

+5 -1
+2
src/xrt/auxiliary/os/os_threading.h
··· 317 317 static inline int 318 318 os_thread_helper_init(struct os_thread_helper *oth) 319 319 { 320 + U_ZERO(oth); 321 + 320 322 int ret = pthread_mutex_init(&oth->mutex, NULL); 321 323 if (ret != 0) { 322 324 return ret;
+3 -1
src/xrt/targets/openxr/oxr_sdl2_hack.c
··· 302 302 return; 303 303 } 304 304 305 - xrt_instance_get_prober(xinst, &p->base.xp); 305 + if (xinst != NULL) { 306 + xrt_instance_get_prober(xinst, &p->base.xp); 307 + } 306 308 307 309 for (size_t i = 0; i < NUM_XDEVS; i++) { 308 310 p->base.xdevs[i] = xdevs[i];