From 00d9f039fcc9d4d629a7dc352a351c6e41b3e2e6 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 22 Dec 2023 18:25:04 +0900 Subject: [PATCH] [vulkan] Set debug windows to auto_fit I'd missed this earlier, thus the vulkan debug windows wound up a tad small. --- libs/video/renderer/vulkan/render_ui.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/video/renderer/vulkan/render_ui.c b/libs/video/renderer/vulkan/render_ui.c index 2c9a16de8..6f354d440 100644 --- a/libs/video/renderer/vulkan/render_ui.c +++ b/libs/video/renderer/vulkan/render_ui.c @@ -326,6 +326,7 @@ entid_button (uint32_t entid, vulkan_ctx_t *ctx, imui_ctx_t *imui_ctx) .xpos = io.mouse.x + 50, .ypos = io.mouse.y, .is_open = true, + .auto_fit = true, }), ind); } @@ -392,16 +393,19 @@ QFV_Render_UI (vulkan_ctx_t *ctx, imui_ctx_t *imui_ctx) .name = nva ("Job Timings##%p.window", rctx), .xpos = 100, .ypos = 50, + .auto_fit = true, }, .job_control_window = { .name = nva ("Job Control##%p.window", rctx), .xpos = 100, .ypos = 50, + .auto_fit = true, }, .entid_window = { .name = nva ("Entities##%p.window", rctx), .xpos = 100, .ypos = 50, + .auto_fit = true, }, .ent_windows = DARRAY_STATIC_INIT (4), .ent_window_ids = DARRAY_STATIC_INIT (4),