mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01: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>
This commit is contained in:
parent
5c11b4a039
commit
b895c0ec05
1 changed files with 1 additions and 1 deletions
|
|
@ -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