The open source OpenXR runtime
0
fork

Configure Feed

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

c/main: Fix conversion warning [NFC]

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>

authored by

Jakob Bornecrantz and committed by
Marge Bot
f0db3808 458b1197

+2 -2
+2 -2
src/xrt/compositor/main/comp_window_direct.c
··· 64 64 COMP_PRINT_MODE(ct->c, "Available Vk modes for direct mode"); 65 65 for (int i = 0; i < mode_count; i++) { 66 66 VkDisplayModePropertiesKHR *props = &mode_properties[i]; 67 - uint16_t width = props->parameters.visibleRegion.width; 68 - uint16_t height = props->parameters.visibleRegion.height; 67 + uint32_t width = props->parameters.visibleRegion.width; 68 + uint32_t height = props->parameters.visibleRegion.height; 69 69 float refresh = (float)props->parameters.refreshRate / 1000.f; 70 70 71 71 COMP_PRINT_MODE(ct->c, "| %2d | %dx%d@%.2f", i, width, height, refresh);