From ee450e6f2960bd76026f82d33048c0d5250825cf Mon Sep 17 00:00:00 2001 From: Christoph Haag Date: Wed, 27 Jul 2022 15:04:31 +0200 Subject: [PATCH] comp/main: Fix chosen vk display mode debug print --- src/xrt/compositor/main/comp_window_direct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/compositor/main/comp_window_direct.c b/src/xrt/compositor/main/comp_window_direct.c index 4e970c599..f6ce74fbb 100644 --- a/src/xrt/compositor/main/comp_window_direct.c +++ b/src/xrt/compositor/main/comp_window_direct.c @@ -55,7 +55,7 @@ choose_best_vk_mode_auto(struct comp_target *ct, VkDisplayModePropertiesKHR *mod } VkDisplayModeParametersKHR best = mode_properties[best_index].parameters; COMP_DEBUG(ct->c, "Auto choosing Vk direct mode %d: %dx%d@%.2f", best_index, best.visibleRegion.width, - best.visibleRegion.width, (float)best.refreshRate / 1000.f); + best.visibleRegion.height, (float)best.refreshRate / 1000.f); return best_index; }