The open source OpenXR runtime
0
fork

Configure Feed

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

c/client: Resolve warnings

+4 -4
+4 -4
src/xrt/compositor/client/comp_d3d11_client.cpp
··· 106 106 */ 107 107 struct client_d3d11_compositor 108 108 { 109 - struct xrt_compositor_d3d11 base; 109 + struct xrt_compositor_d3d11 base = {}; 110 110 111 111 //! Owning reference to the backing native compositor 112 - struct xrt_compositor_native *xcn; 112 + struct xrt_compositor_native *xcn{nullptr}; 113 113 114 114 //! Just keeps COM alive while we keep references to COM things. 115 115 xrt::auxiliary::util::ComGuard com_guard; 116 116 117 117 //! Logging level. 118 - enum u_logging_level log_level; 118 + enum u_logging_level log_level = U_LOGGING_INFO; 119 119 120 120 //! Device we got from the app 121 121 wil::com_ptr<ID3D11Device5> app_device; ··· 163 163 /*! 164 164 * The value most recently signaled on the timeline semaphore 165 165 */ 166 - uint64_t timeline_semaphore_value; 166 + uint64_t timeline_semaphore_value = 0; 167 167 }; 168 168 169 169 static_assert(std::is_standard_layout<client_d3d11_compositor>::value);