trace: Fix typo in double annotations

They're setting the float value instead of the double value, which leads
to corrupt output.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2026-05-21 16:45:11 -05:00
parent dee08a8a32
commit d35259e3b2

View file

@ -137,7 +137,7 @@ do_annotate_double(struct weston_debug_annotations *annots,
struct weston_debug_annotation *annot = &annots->annots[annots->count];
annot->type = WESTON_DEBUG_ANNOTATION_DOUBLE_VAL;
annot->fvalue = value;
annot->dvalue = value;
annot->parent = parent;
annot->key = key;
annot->key_size = key_size;