The open source OpenXR runtime
0
fork

Configure Feed

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

c/main: Explain why we force the blit texture to be evenly-sized (NFC)

+1 -1
+1 -1
src/xrt/compositor/main/comp_renderer.c
··· 578 578 r->mirror_to_debug_gui.image_extent.height = (uint32_t)target_height; 579 579 580 580 581 - // gui_window_record expects the images to have even widths/heights 581 + // We want the images to have even widths/heights so that libx264 can encode them properly; no other reason. 582 582 if (r->mirror_to_debug_gui.image_extent.width % 2 == 1) { 583 583 r->mirror_to_debug_gui.image_extent.width += 1; 584 584 }