The open source OpenXR runtime
0
fork

Configure Feed

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

comp: Use the correct calloc macro

+1 -2
+1 -2
src/xrt/compositor/main/comp_compositor.c
··· 1269 1269 u_var_add_root(c, "Compositor", true); 1270 1270 u_var_add_ro_f32(c, &c->compositor_frame_times.fps, "FPS (Compositor)"); 1271 1271 1272 - struct u_var_timing *ft = U_CALLOC_WITH_CAST( 1273 - struct u_var_timing, sizeof(struct u_var_timing)); 1272 + struct u_var_timing *ft = U_TYPED_CALLOC(struct u_var_timing); 1274 1273 1275 1274 float target_frame_time_ms = 1276 1275 c->settings.nominal_frame_interval_ns * 1. / 1000. * 1. / 1000.;