mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-25 05:01:24 +00:00
[vulkan] Set debug windows to auto_fit
I'd missed this earlier, thus the vulkan debug windows wound up a tad small.
This commit is contained in:
parent
7f1c20afa9
commit
00d9f039fc
1 changed files with 4 additions and 0 deletions
|
@ -326,6 +326,7 @@ entid_button (uint32_t entid, vulkan_ctx_t *ctx, imui_ctx_t *imui_ctx)
|
||||||
.xpos = io.mouse.x + 50,
|
.xpos = io.mouse.x + 50,
|
||||||
.ypos = io.mouse.y,
|
.ypos = io.mouse.y,
|
||||||
.is_open = true,
|
.is_open = true,
|
||||||
|
.auto_fit = true,
|
||||||
}), ind);
|
}), ind);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -392,16 +393,19 @@ QFV_Render_UI (vulkan_ctx_t *ctx, imui_ctx_t *imui_ctx)
|
||||||
.name = nva ("Job Timings##%p.window", rctx),
|
.name = nva ("Job Timings##%p.window", rctx),
|
||||||
.xpos = 100,
|
.xpos = 100,
|
||||||
.ypos = 50,
|
.ypos = 50,
|
||||||
|
.auto_fit = true,
|
||||||
},
|
},
|
||||||
.job_control_window = {
|
.job_control_window = {
|
||||||
.name = nva ("Job Control##%p.window", rctx),
|
.name = nva ("Job Control##%p.window", rctx),
|
||||||
.xpos = 100,
|
.xpos = 100,
|
||||||
.ypos = 50,
|
.ypos = 50,
|
||||||
|
.auto_fit = true,
|
||||||
},
|
},
|
||||||
.entid_window = {
|
.entid_window = {
|
||||||
.name = nva ("Entities##%p.window", rctx),
|
.name = nva ("Entities##%p.window", rctx),
|
||||||
.xpos = 100,
|
.xpos = 100,
|
||||||
.ypos = 50,
|
.ypos = 50,
|
||||||
|
.auto_fit = true,
|
||||||
},
|
},
|
||||||
.ent_windows = DARRAY_STATIC_INIT (4),
|
.ent_windows = DARRAY_STATIC_INIT (4),
|
||||||
.ent_window_ids = DARRAY_STATIC_INIT (4),
|
.ent_window_ids = DARRAY_STATIC_INIT (4),
|
||||||
|
|
Loading…
Reference in a new issue