The open source OpenXR runtime
0
fork

Configure Feed

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

d/steamvr_lh: Fix xrt_space_relation_flags |= operator again

+4 -3
+4 -3
src/xrt/drivers/steamvr_lh/device.cpp
··· 663 663 return static_cast<xrt_space_relation_flags>(static_cast<uint32_t>(a) | static_cast<uint32_t>(b)); 664 664 } 665 665 666 - inline xrt_space_relation_flags 667 - operator|=(xrt_space_relation_flags a, xrt_space_relation_flags b) 666 + inline xrt_space_relation_flags & 667 + operator|=(xrt_space_relation_flags &a, xrt_space_relation_flags b) 668 668 { 669 - return a | b; 669 + a = a | b; 670 + return a; 670 671 } 671 672 672 673 void