mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 12:08:06 +02:00
vk/overlay-layer: fix regression in non-control pathway
Fixes regression introduced by prior commit. Prior commit fixed the control pathway to starting overlay-layer but broke non- control pathway. Now both pathways should be working. Fixes:06423b1792("defer log creation to swapchain creation") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12884 Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34413> (cherry picked from commitb895c0ec05)
This commit is contained in:
parent
939859348d
commit
0a9cb4e833
2 changed files with 2 additions and 2 deletions
|
|
@ -854,7 +854,7 @@
|
|||
"description": "vk/overlay-layer: fix regression in non-control pathway",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "06423b1792b5c734108e6e11146b861a213e64f6",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2662,7 +2662,7 @@ static VkResult overlay_CreateInstance(
|
|||
* capturing fps data right away.
|
||||
*/
|
||||
instance_data->capture_enabled =
|
||||
instance_data->output_file_fd && instance_data->params.control == NULL;
|
||||
instance_data->params.output_file && instance_data->params.control == NULL;
|
||||
instance_data->capture_started = instance_data->capture_enabled;
|
||||
|
||||
for (int i = OVERLAY_PARAM_ENABLED_vertices;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue