mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 08:50:58 +00:00
[vulkan] Set default frames in flight to 2
Having 3 frames doesn't gain much of anything and costs 50% extra memory as well as another frame of latency.
This commit is contained in:
parent
3b0dcd2cdc
commit
fc946a604d
1 changed files with 2 additions and 2 deletions
|
@ -1096,9 +1096,9 @@ static cvar_t vulkan_frame_count_cvar = {
|
||||||
.name = "vulkan_frame_count",
|
.name = "vulkan_frame_count",
|
||||||
.description =
|
.description =
|
||||||
"Number of frames to render in the background. More frames can "
|
"Number of frames to render in the background. More frames can "
|
||||||
"increase performance, but at the cost of latency. The default of 3 is"
|
"increase performance, but at the cost of latency. The default of 2 is"
|
||||||
" recommended.",
|
" recommended.",
|
||||||
.default_value = "3",
|
.default_value = "2",
|
||||||
.flags = CVAR_NONE,
|
.flags = CVAR_NONE,
|
||||||
.value = { .type = &cexpr_int, .value = &vulkan_frame_count },
|
.value = { .type = &cexpr_int, .value = &vulkan_frame_count },
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue